Computer Science, asked by MoaisBinBaker, 20 days ago

write a qbasic program to find the sum of 4 numbers​

Answers

Answered by BrainlyProgrammer
5

Answer:

CLS

PRINT "ENTER A NUMBER"

INPUT A,B,C,D

S=A+B+C+D

PRINT "Sum=";S

END

Logic:-

  • Accept 4 numbers
  • calculate the sum
  • print it
Answered by vaheeda2000
5

Answer:

CLS

PRINT “AND ENTER A NUMBER ”

INPUT A,B,C,D

S=A+B+C+D

PRINT “SUM”

LOGIC:

. ACCEPT 4 NUMBERS

. CALCULATE THE SUM

. PRINT IT .

HOPE YOU HELP THIS ☺️

Similar questions