Write a QBasic program to input two numbers from the user.If the first number is greater than the second print their sum else print their difference.
Answers
Answered by
0
Answer:
INPUT "FIRST NUMBER: ",FIRSTNUM
INPUT "SECOND NUMBER: ",SECONDNUM
IF
FIRSTNUM>SECONDNUM
THEN
PRINT FIRSTNUM+SECONDNUM
ELSE
PRINT SECONDNUM-FIRSTNUM
ENDIF
END
Explanation:
HOPE IT HELPS YOU
Answered by
0
HI REESHMA AMI SARWAGYA. TUI BRAINLY USE KORIS AMI JANTAM OF NA
Similar questions