Computer Science, asked by siddheshmandal456, 1 day ago

please solve this question.
question from computer QBASIC.​

Attachments:

Answers

Answered by ConstellationGuy
1

Answer:

10 CLS

20 S=20+10

30 D= 20-10

40 PRINT "THE SUM IS ";S

50 PRINT "THE DIFFERENCE IS ";D

60 END

Answered by Gucock
0

I am writing in java please convert it into qbasic

class sum_diff

{

        void main()

         {

                 Scanner sc=new Scanner(System.in);

                  sum,diff;

                   sum=20+10;

                   diff=20-10;

                   System.out.println("Sum: "+sum+"Difference: "+diff);  

         }

}

Hope it helps you please mark me as the brainliast

Similar questions