find the output in numeric variable
Attachments:
Answers
Answered by
1
Explanation:
77 is the correct answer
Answered by
1
Required Answer:-
Given C∅de:
F = 77
T = (F - 32)/9
C = T*5
PRINT C
To Find:
- The output of the given c∅de. (Language: QBASIC)
Output:
- 25.
Solution:
It's given that,
→ F = 99
Calculating T,
→ T = (F - 32)/9
→ T = (77 - 32)/9
→ T = 45/9
→ T = 5
Calculating C,
→ C = T * 5
→ C = 5 * 5
→ C = 25
→ Therefore, the value of C is 25. Now, C is displayed on the screen.
→ Output: 25.
•••♪
Similar questions