Write the QBasic programme to print M as the product of A and B.
Pls correct answers only ,its for my exam
Answers
Answered by
3
CLS
PRINT "ENTER 2 NO'S"
INPUT A, B
M=A*B
PRINT M
END
Can my answer be brainlest answer?
Answered by
2
Question:-
➡ Write a QBASIC program to print M as a product of A and B.
Program:-
CLS
PRINT "ENTER TWO NUMBERS..."
INPUT A, B
M = A*B
PRINT "M IS: " +M
END
This is a very simple program. At first, we will take values of A and B as input and then we will multiply variables A and B and then store it in M.
Now, we will print.
Similar questions
English,
2 months ago
Chemistry,
2 months ago
Science,
2 months ago
Sociology,
5 months ago
Physics,
5 months ago
Social Sciences,
10 months ago
Computer Science,
10 months ago