Question: j Predict the Output Questions 29-32 are programs expressed as English statements. What would each display on the screen if they were actual programs? 29.
j

Predict the Output Questions 29-32 are programs expressed as English statements. What would each display on the screen if they were actual programs? 29. The variable sum starts with the value 0. Add 10 to sum. Add 15 to sum. Add 20 to sum. Display the value of sum on the screen. 30. The variable x starts with the value 0. VidecNote Predicting the Output of Problem 30 The variable y starts with the value 5. Add 1 to x. Add 1 to y. Add x and y, and store the result in y. Display the value in y on the screen. 31. The variable j starts with the value 10. The variable k starts with the value 2. The variable m starts with the value 4. Store the value of j times k in j. Store the value of k times m in m. Add j and m, and store the result in k. Display the value in k on the screen. 32. The variable a starts with the value 1. e variable b starts with the value 10. The variable c starts with the value 100. The variable x starts with the value 0. Store the value of c times 3 in x. Add the value of b times 6 to the value already in x. Add the value of a times 5 to the value already in x. Display the value in x on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
