Computer Studies

Rewrite the given instructions in QBASIC:

  1. The product of p, q and r is divided by 100.
  2. m raised to the power 2 plus n raised to the power 3.
  3. The sum of a and b is divided by the product of a and b.
  4. Subtract 5 from m and the result is multiplied by 10.
  5. The sum of p and q is multiplied by 2.
  6. A is greater than or equal to B.
  7. The sum of A and B is less than the product of A and B.
  8. Twice the product of A plus thrice the product of B is greater than or equal to 50.

QBASIC: Character Sets

79 Likes

Answer

  1. (p * q * r) / 100
  2. m ^ 2 + n ^ 3
  3. (a + b) / (a * b)
  4. (m - 5) * 10
  5. (p + q) * 2
  6. A >= B
  7. (A + B) < (A * B)
  8. (2 * a + 3 * b) >= 50

Answered By

38 Likes


Related Questions