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

Another question on Mathematics

question
Mathematics, 21.06.2019 21:30
Amachine part consists of a half sphere and a cylinder, as shown in the figure. the total volume of the part is π cubic inches.
Answers: 1
question
Mathematics, 22.06.2019 00:00
The equation of a parabola is given. y=18x2+4x+20 what are the coordinates of the focus of the parabola?
Answers: 2
question
Mathematics, 22.06.2019 00:30
A10 inch cookie cake is divided into 8 slices. what is the area of 3 slices
Answers: 1
question
Mathematics, 22.06.2019 04:30
What is the equation for the line that passes through the points (-6,4) and (-2,9) answer in point slope form
Answers: 2
You know the right answer?
In a computer program, statements often are written as goto statements. these tell the computer to g...
Questions
question
Mathematics, 26.01.2021 20:30
question
Mathematics, 26.01.2021 20:30
question
Mathematics, 26.01.2021 20:30
question
Mathematics, 26.01.2021 20:30
question
Health, 26.01.2021 20:40
Questions on the website: 13722363