subject
Mathematics, 12.07.2019 05:10 tgdetwiler2905

In a computer program, statements often are written as goto statements. these tell the computer to go to a particular line in the program if certain conditions are met. given any two numbers, the program shown below puts the numbers in order according to size.
10 input x
20 input y
30 if x > y then goto 60
40 if x < y then goto 70
50 if x = y then goto 80
60 print y, x: end
70 print x, y: end
80 print x = y: end
refer to the above program and use the chart below to work through questions 1 and 2 that follow.
hypothesis (p) t or f negation (~p) t or f
1. for each conditional statement in the program, write the p clause (hypothesis) in the first column of the chart. then write the negation (~p) in the third column of the chart. (12 points)

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 14:30, user20061024
Given: ac and db are diameters. m∠3=
Answers: 1
image
Mathematics, 21.06.2019 18:30, sara6689
Which of the following correctly justifies statement four of the two column proof? a. corresponding angles theorem b. transitive property of equality c. vertical angle theorem d. substitution property of equality
Answers: 1
image
Mathematics, 21.06.2019 20:30, ariannanykole1
What is the best approximation for the area of a circle with a radius of 4 m ? use 3.14 to approximate pi
Answers: 1
image
Mathematics, 21.06.2019 22:30, tiannaetzel
Which of the following is an example of a rational number? a. π b. √ 9 c. √ 8 d. 3.8362319
Answers: 1
You know the right answer?
In a computer program, statements often are written as goto statements. these tell the computer to g...

Questions in other subjects:

Konu
English, 24.11.2020 05:20
Konu
English, 24.11.2020 05:20
Konu
Mathematics, 24.11.2020 05:20
Konu
Mathematics, 24.11.2020 05:20