subject

Project: Programming a Math Algorithm the BMI scale
Writing a program to calculate a person's BMI is an example of using a math algorithm. In the BMI case, you used a formula to find a person's BMI and assigned the result to a category. Your program handled possible errors. This man needs to be concerned about his potential errors. (Imagery supplied by bearsky23/iStock via Getty)

In this unit, you learned how to manipulate numbers and strings, acquire input from the user, perform data manipulations for various types, and make decisions. You displayed the results for the user. You are able to plan and write programs, using the input-process-output model. You can test the results. In this project, you will plan and write a program to solve a math algorithm. Unlike the man in the picture, you will identify possible errors and handle them in your program.
Choosing Your Math Algorithm

Think of a math question that takes several steps to solve. It should not be a math question already programmed in the unit. Some examples are below, or you might think of your own ideas. The question should require input from the user, process the information, and display the results. You can choose your own algorithm. It does not need to be one of these.
Find the surface area of a cylinder.
Find the surface area of a pyramid.
Find the hypotenuse of a right triangle.
Your Task

Write a pseudocode plan for your program.
Write the code for your program.
Test your program. Run it at least three times with different inputs.
Save your program as a .txt file for you cannot upload a .py file.
Evaluate your project using this rubric.
What to Submit

Submit the .txt file holding your program.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
You know the right answer?
Project: Programming a Math Algorithm the BMI scale
Writing a program to calculate a person's...
Questions
question
Chemistry, 18.05.2021 17:20
question
Mathematics, 18.05.2021 17:20
question
Chemistry, 18.05.2021 17:20
question
Business, 18.05.2021 17:20
question
Mathematics, 18.05.2021 17:20
Questions on the website: 13722361