Algorithm to Calculate Remainder for Given Two Numbers

Subject: PPS (Programming for Problem Solving)

Contributed By: Sanjay

Created At: February 3, 2025

Question:


Write an Algorithm to Calculate Remainder for Given Two Numbers

Explanation Video:

Custom Image

Explanation:

Algorithm:

  1. Start.

  2. Read two numbers, a and b.

  3. Calculate remainder = a % b.

  4. Print the remainder.

  5. Stop.

Share this Article & Support Us: