For each question in this workshop, you must complete two things:
- Write the pseudocode
- Draw the flowchart using either
- Option 1: Draw.io (recommended) → export image → upload to your repository → link it in this file
- Option 2 (optional): Write a Mermaid flowchart directly in Markdown
- Option 3 (optional): Any other valid method
👉 IMPORTANT: At the bottom of each question, add the following sections:
Design an algorithm and flowchart that take a number as input and determine whether it is even or odd.
START
INPUT number
IF number % 2 == 0 THEN
PRINT Even
ELSE
PRINT Odd
ENDIF
END
flowchart TD
A([Start]) --> I[/Get input N/]
I --> B{N % 2 == 0 ?}
B -->|Yes| C[/Print Even/]
B -->|No| D[/Print Odd/]
C --> E([End])
D --> E([End])
Write the algorithm and draw the flowchart for a program that inputs marks for 3 subjects, calculates the total and average, and displays both.
Create an algorithm and flowchart that input a number and display its multiplication table from 1 to 10 using a loop.
Write the algorithm and flowchart to input a number and display whether it is positive, negative, or zero.
Create an algorithm and flowchart for a program that calculates simple interest using the formula:
SI = (P × R × T) / 100
- P = Principal → original amount of money
- R = Rate of Interest → percentage per year
- T = Time → number of years
Write the algorithm and draw the flowchart for a program that takes the temperature of 7 days, finds the average temperature, and displays it.
Create an algorithm and flowchart to input length and width, calculate the area (Area = Length × Width), and display the result.
Write the algorithm and draw the flowchart for a program that takes a student's average marks and displays "Pass" if average ≥ 50, otherwise "Fail".
Write the algorithm and draw the flowchart that input a number and calculate its factorial using a loop.
Write the algorithm and draw the flowchart for a program that inputs the purchase amount and gives a 10% discount if the amount is greater than 1000.