I want this Algorithm and Flowchart Questions Solved.
Please solve with explanation if necessary to unable easy understanding by third parties.
Should take a PRO barely 30 - 45 minutes to solve
To win project solve one question.
a. Binary calculator
Write an algorithm and draw a flowchart for a program that asks the user to enter two numbers. The program should be able to perform binary operations such addition, subtraction, multiplication and division on the two numbers like a typical calculator.
b. Areas of Rectangles
The area of a rectangle is the rectangle’s length times its width. Write an algorithm and draw a flowchart for a program that asks for the length and width of two rectangles. The program should tell the user which rectangle has the greater area, or if the areas are the same.
c. Body Mass Index
Write an algorithm and draw a flowchart for a program that calculates and displays a person’s body mass index (BMI). The BMI is often used to determine whether a person with a sedentary lifestyle is overweight or underweight for his or her height. A person’s BMI is calculated with the following formula:
BMI = weight × 703 / height2
Where weight is measured in pounds and height is measured in inches. The program should display a message indicating whether the person has optimal weight, is underweight, or is overweight. A sedentary person s weight is considered to be optimal if his or her BMI is between 18.5 and 25. If the BMI is less than 18.5, the person is considered to be underweight. If the BMI value is greater than 25, the person is considered to be overweight.
d. Time Calculator
Write an algorithm and draw a flowchart for a program that asks the user to enter a number of seconds. There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the number of minutes in that many seconds. There are 3,600 seconds in an hour. If the number of seconds entered by the user is greater than or equal to 3,600, the program should display the number of hours in that many seconds. There are 86,400 seconds in a day. If the number of seconds entered by the user is greater than or equal to 86,400, the program should display the number of days in that many seconds.
e. Software Sales
A software company sells a package that retails for $99. Quantity discounts are given according to the following table.
Quantity Discount
10-19 20%
20-49 30%
50-99 40%
100 or more 50%
Write draw a flowchart for a program that asks for the number of units sold and computes the total cost of the purchase.
Input Validation: Make sure the number of units is greater than 0.
f. Book Club Points
Serendipity Booksellers has a book club that awards points to its customers based on the number of books purchased each month. The points are awarded as follows:
* If a customer purchases 0 books, he or she earns 0 points.
* If a customer purchases 1 book, he or she earns 5 points.
* If a customer purchases 2 books, he or she earns 15 points.
* If a customer purchases 3 books, he or she earns 30 points.
* If a customer purchases 4 or more books, he or she earns 60 points.
Write an algorithm and draw a flowchart for a program that asks the user to enter the number of books that he or she has purchased this month and then displays the number of points awarded.
g. Bank Charges
A bank charges $10 per month plus the following check fees for a commercial checking account:
$.10 each for fewer than 20 checks
$.08 each for 20 39 checks
$.06 each for 40 59 checks
$.04 each for 60 or more checks
Write an algorithm and draw a flowchart for a program that asks for the beginning balance and the number of checks written. Compute and display the bank’s service fees for the month. 10 marks
Input Validation: Do not accept a negative value for the number of checks written.
h. Write the algorithm and draw the flowchart for finding solution to the quadratic equation ax2 + bx + C = 0
This is an easy job for me to answer the question C. Below is the pseuducode:
begin
weight = user's input
height = user's input
bmi = weight * 703 / (height * height)
if bmi < 18.5 then
print "underweight"
else if bmi <= 25 then
print "Optimal weight"
else
print "Optimal overweight"
end
Hi,
I have +15 years experience in C and tutoring.
Please see "b" solved in my portfolio.
At moment I haven't got Visio installed at this computer but if I am awarded, charts will be done in Visio or inported in Word for your convinience.
Best regards,
Kosta
I could give you the solution to all these problems at the end of 3 days with their respective flowcharts , I could use an object-oriented language as java or c # or pseudocode if you prefer