Assignment
Assignment
Develop a pseudocode or algorithm and flowchart for any 5 problems from the list
Deadline : 6 September 2024
• Write algorithm that reads two numbers and divide one by another and
display the quotient.
• Write the algorithm to print all multiples of 5 between 10 and 25 (including
both 10 and 25).
• Suppose you are collecting money for something. You need ‘ 200 in all.
You ask your parents, uncles and aunts as well as grandparents. Different
people may give either ‘ 10, ‘ 20 or even ‘ 50. You will collect till the total
becomes 200. Write the algorithm.
• Write the algorithm to print the bill depending upon the price and quantity
of an item. Also print Bill GST, which is the bill after adding 5% of tax
in the total bill
• Write pseudocode that will perform the following:
a) Read the marks of three subjects: Computer Science, Mathematics
and Physics, out of 100
b) Calculate the aggregate marks
c) Calculate the percentage of marks
• Write an algorithm to find the greatest among two different numbers en-
tered by the user.
1
• Write an algorithm that accepts four numbers as input and find the largest
and smallest of them.
• Write an algorithm to display the total water bill charges of the month
depending upon the number of units consumed by the customer as per the
following criteria: