Write a program in q basic to accept 10 numbers from the user and print the sum
Answers
Answered by
1
REM SUM OF ODD NUMBERS AMONG INPUTS
SUM = 0
FOR COUNTER=1 TO 10
INPUT "A=",A
TERM= INT(A)
IF TERM % 2=1 THEN SUM=SUM+TERM
NEXT COUNTER
PRINT "SUM=";SUM
..
..
..
please mark as the brainliest answer.
Similar questions