0% found this document useful (0 votes)
20 views

IT Problems

The document lists 31 problems involving mathematical and logical operations such as calculating averages, areas, discounts, and conversions. Users are prompted to input values like numbers, prices, and dates to perform calculations and display results.

Uploaded by

suziewang45
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

IT Problems

The document lists 31 problems involving mathematical and logical operations such as calculating averages, areas, discounts, and conversions. Users are prompted to input values like numbers, prices, and dates to perform calculations and display results.

Uploaded by

suziewang45
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Write pseudocodes and draw flowcharts for the following:

1. Read 3 numbers and find their product.


2. Calculate the area of a living room to be carpeted.
3. Calculate and print the average mark received in a class of one hundred
(100) students
4. Read the height of five (5) students and find the average.
5. Display the result, five of ten students after adding them together and
divide the results by two (2).
6. Find the product of three numbers that have been inputted by the user
and show the result.
7. Prompt the user to enter a number and display its square.
8. Enter the base and height of a triangle and find and print the area.
9. Read the temperature in degrees Celsius (◦C) and convert it to degrees
Fahrenheit (F) where F=32+(9C/5). Output the temperature in degrees
Celsius and Fahrenheit.
10. Accept the radius of a circle and calculate and display its area.
11. Accept the length and width of a rectangle and calculate its area.
12. Accept the price of an item and calculate its VAT at 15%.
13. The Caribbean has decided to introduce VAT (Value Added Tax) for all
food items purchased. All food items will be sold including a 15% VAT.
Accept the price of an item and calculate and print its new price
including VAT.
14. Accept money in US dollars and convert it to its equivalent local
currency.
15. Add 3 prices of items, assuming that the sales tax is 15% and has
been applied. Print the total amount of sales
16. Prompt the user to enter the salary of an employee and calculate the
income tax at 15% if the salary is more than $5000. Display the salary
and tax.
17. Accept scores of students. If score is more than 59 then display ‘the
student has passed’ else display the student has failed.
18. Prompt the user to enter two unequal numbers and find the largest
between them
19. Prompt the user to enter two unequal numbers and find the smallest
among them.
20. Prompt the user to enter three unequal numbers and find the smallest
among them.
21. Prompt the user to enter three unequal numbers and find the largest
among them.
22. Read the weather condition. If it is rainy display ‘Stay Inside’.
23. Prompt the user to accept a password. If the password is correct
output “Sesame” else output “No, try again”.
24. Accept the radius of a circle and calculate its circumference, where
(circumference=2*3.142*radius).
25. Accept a number and display whether or not it is positive or negative.
26. A company gives out bonuses based on the amount of income
generated by their sales representatives per month. Once the income is
greater than $5000.00 a bonus of 10% of the generated income is given
to the employees.
27. A rental car firm leases its cars for $250.00 per day. The manager
gives a discount base the number of days that the car is rented. If the
rental period is greater than or equal to 7 days then a 25% discount is
given. Read the rental period and print the discount given.
28. A company gives out bonuses based on the amount of income
generated by their sales representatives per month. Once the income is
greater than $5000.00 then a bonus 10% of the generated income is
payable; otherwise the bonus is 3% of the generated income. Read the
income generated and print the bonus.
29. At the Value Mart Supermarket, as part of their product promotion,
they have decided to give a 40% discount on all items. Accept the price
of an item and calculate and display the price and discount.
30. Write a program that will prompt the user to input the number of days
in the month of May. You are required to calculate the number of hours
in the month and display the result.
31. Develop a structured algorithm that will accept the following data for a
Video Rental Store: name of tape, date rented, date due and amount
paid. Calculate the money due and output the result.

You might also like