subject

Project: Programming a Math Algorithm 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.

PLEASE HELP!!!

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:50
Write a method in the heapintpriorityqueue class called merge that accepts another heapintpriorityqueue as a parameter and adds all elements from the other queue into the current queue, maintaining proper heap order such that the elements will still come out in ascending order when they are removed. your code should not modify the queue passed in as a parameter. (recall that objects of the same class can access each other's private fields.)
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
What is the worst-case complexity of the maxrepeats function? assume that the longest string in the names array is at most 25 characters wide (i.e., string comparison can be treated as o( class namecounter { private: int* counts; int nc; string* names; int nn; public: namecounter (int ncounts, int nnames); int maxrepeats() const; }; int namecounter: : maxrepeats () { int maxcount = 0; for (int i = 0; i < nc; ++i) { int count = 1; for (int j = i+1; j < nc; ++j) { if (names[i] == names[j]) ++count; } maxcount = max(count, maxcount); } return maxcount; }
Answers: 3
question
Computers and Technology, 23.06.2019 00:10
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
You know the right answer?
Project: Programming a Math Algorithm In this unit, you learned how to manipulate numbers and strin...
Questions
question
Mathematics, 28.10.2021 01:10
question
Mathematics, 28.10.2021 01:10
question
Computers and Technology, 28.10.2021 01:10
question
Mathematics, 28.10.2021 01:10
question
Chemistry, 28.10.2021 01:10
question
Mathematics, 28.10.2021 01:10
Questions on the website: 13722361