Asked by Anonymous
In the space below, indicate the values stored in the variables A,B,C, and D for the program. Enter your answers by typing in the value of A for Answer 1, value for B in Answer 2 and so on. Do this for all four variables.(8 points)
10 DATA 2,3,4,5
20 READ A1, B1, C1, D1
30 A = A1 + B1
40 B = C1 + D1
50 C = A + B
60 D = B + C
10 DATA 2,3,4,5
20 READ A1, B1, C1, D1
30 A = A1 + B1
40 B = C1 + D1
50 C = A + B
60 D = B + C
Answers
Answered by
Reiny
Wow, looks like a program written in BASIC from the 70's , love it!
A = 5
B = 9
C = 14
D = 23
A = 5
B = 9
C = 14
D = 23
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.