How do you find the remainder of two values in qbasic
Answers
Answered by
3
Answer:
Using MOD operator
Explanation:
MOD operator does the job of "%" (Modulus operator) in QBasic.
Here's an example,
a=7
b=5
PRINT a MOD b
This shout return 2 as output.
Additional:
- a^b raises a to the power of b.
Similar questions
Social Sciences,
1 month ago
Computer Science,
1 month ago
Math,
4 months ago
Science,
4 months ago
Social Sciences,
10 months ago
Math,
10 months ago
Math,
10 months ago