Computer Science, asked by reeshmadey567, 10 months ago

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 ritabratadas121
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 SaRwAgYaSiNgH53951
0

HI REESHMA AMI SARWAGYA. TUI BRAINLY USE KORIS AMI JANTAM OF NA

Similar questions