This topic contains 0 replies, has 0 voices, and was last updated by EduGorilla 1 year, 11 months ago.
- AuthorPosts
- Select Question Language :
Directions: Use the following program segment to answer the question given below. Assume user input of 1, 2, 5, 7, 4, 6.
INPUT A, B, C
C = A + B
PRINT A, B, C
INPUT A, B
INPUT C$
PRINT C$
What will be the values of the variables A, B, and C when the third line is executed?Options :-
- A = 1, B = 2, C = 3
- A = 1, B = 2, C = 5
- A = 2, B = 5, C = 2
- A = 3, B = 2, C = 4
Post your Training /Course EnquiryAre You looking institutes / coaching center for- IIT-JEE, NEET, CAT
- Bank PO, SSC, Railways
- Study Abroad
- AuthorPosts