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)
Answers: 1
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
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
In a computer program, statements often are written as goto statements. these tell the computer to g...
English, 24.11.2020 05:20
Chemistry, 24.11.2020 05:20
English, 24.11.2020 05:20
Mathematics, 24.11.2020 05:20
Engineering, 24.11.2020 05:20
Mathematics, 24.11.2020 05:20
Mathematics, 24.11.2020 05:20