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 would happen, if the fifth line was changed to the statement below?
INPUT C, AOptions :-
- A = 6, B = 3, C = 4
- A = 4, B = 2, C = 7
- You would have to enter an additional number for variable A.
- The computer would end the program.
Post your Training /Course EnquiryAre You looking institutes / coaching center for- IIT-JEE, NEET, CAT
- Bank PO, SSC, Railways
- Study Abroad
- AuthorPosts