Professional Documents
Culture Documents
Write an algorithm/Draw a flowchart for the following problems and implement those using Visual Basic 2005: Numbers and Basic Arithmetic Operations 1. Calculate numbers. 2. Calculate the Average of three numbers. 3. Calculate the Percentage of one number to another number (for example, 35 is 70% of 50) 4. Calculate the Area of a rectangle/square/triangle/circle. 5. Calculate the Price of an item after 30% discount. 6. Calculate the Amount of Simple Interest from principal amount, annual rate and time. Conversion 7. Convert the length in km (kilometer) to meter/feet/centimeter and vice versa. 8. Convert Fahrenheit temperature to Celsius and vice versa. Decision 9. Determine whether a number is Positive/Negative/Zero number. 10. Determine whether a number is Odd/Even number. 11. Determine whether a number is Multiple of 3/5. 12. Determine whether a company has made Profit or Loss from Cost and Revenue of the company. 13. Determine the minimum/maximum of two/three numbers. 14. Determine whether a student has failed or passed based on the total percentage marks obtained by the student. 30% marks need to be the Addition/Subtraction/Multiplication/Division of two
16. Calculate the discount gained on total purchase amount by a customer in a Super shop. The discount rate is determined by the following criteria: Total Purchase Amount >=5000 2500-4999 < 2500 5% Discount 15% 10%
17. Determine the grade of a student based on the total marks obtained in a subject. The grading criteria is given below: Total Marks >=90 70-89 60-69 50-59 < 50 B C D F Grade A
18. Calculate the total cost of CDs sold by a computer store. The computer store sells DVDs at 70 taka each for small orders or at 60 taka each for orders of 100 DVDs or more.