Computer Science, asked by roopamjha00, 2 months ago

How do you find the remainder of two values in qbasic​

Answers

Answered by allysia
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