- Solving Math Problems The Programs And Video Above Demonstrate How To Create Programs That Ask The User For Input Perfo 1 (105.02 KiB) Viewed 20 times
Solving Math Problems The programs and video above demonstrate how to create programs that ask the user for input, perfo
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Solving Math Problems The programs and video above demonstrate how to create programs that ask the user for input, perfo
Solving Math Problems The programs and video above demonstrate how to create programs that ask the user for input, perform some processing on the data, and then output new data processed by the program. Your task now is to create two programs that do exactly that, and then submit them to your teacher. The two programs that you write should: • Ask the user to enter in some values ● Use the values to solve some type of mathematical problem ● Output the solution to the problem Include user-friendly prompts and instructions • Include appropriate variable types ● Include appropriate variable names • Run without any errors Some mathematical problems you might want to solve include: • Determine the area of a rectangle using the length and width entered by the user. • Determine the area of a circle using the diameter entered by the user (you can use the value 3.14 for pi). • Determine the volume of a pyramid using the length, width and height entered by the user. • Determine the speed of an object using the time and distance entered by the user. If you are not sure what is expected, take another look at the video directly above. The video shows a programmer creating a program that determines the volume of cylinder. Click on the button to view the rubric for this assignment.