Computer Science, asked by Bhuiyaaaaaassss, 11 months ago

Write a program(in QBASIC) to accept three marks of a student and the name of the student.Calculate the total and average marks and display both the results.

Answers

Answered by sbdaule5
0

Answer:

Explanation:

CLS;

INPUT "ENTER YOUR NAME",n;

INPUT "ENTER YOUR MARKS",m1;

INPUT "ENTER YOUR MARKS",m2;

INPUT "ENTER YOUR MARKS",m3;

Sum = m1 + m2 + m3

Avg = Sum/3

PRINT "" + n + "got" + Avg + " marks average "

END

Similar questions