Write a program in QBasic to input the name from user and print it.
answer Correctly please
Answers
Answered by
2
Answer:
Cls
Let T = 0
Let AVG = 0
Input "Enter name"; N$
For I = 1 To 12
Input "Enter marks"; M
T = T + M
Next I
AVG = T / 12
Print "Name - "; N$
Print "Total marks -"; T
Print "Average marks - "; AVG
End
Similar questions