Question: Develop an algorithm which includes input, process, and output sections EXAMPLE OF AN ALGORITHM *NOT RELATED TO PROBLEM, JUST SAMPLE* CODE : #include #include using

Develop an algorithm which includes input, process, and output sections

EXAMPLE OF AN ALGORITHM *NOT RELATED TO PROBLEM, JUST SAMPLE*

Develop an algorithm which includes input, process, and output sections EXAMPLE OF

CODE:

#include #include using namespace std;

int main() { int choice; //assign a boolean value true bool run=true; double starttemp, endtemp, temp_incr, temp_conv;

cout > choice;

// Verify input is a number within the correct range if (!cin || choice 3) { cout

cout > starttemp; cout > endtemp; cout > temp_incr;

// Verify input is a number if (!cin) { cout

// Print table header if (choice == 1) { cout =endtemp) { //set to run to false run=false; temp_conv = (5.0/9.0)*(starttemp - 32.0); cout =endtemp) { //set to run to false run=false; temp_conv = (9.0/5.0)*starttemp + 32.0; cout

return 0; }

1) Prompt user for Full name including any middle initials 2) Prompt user for 3 test scores (Valid score must be between 0-100) 3) Prompt user for programming assignment score (Valid score must be between 0-100.0) 4) Prompt user for quiz score (Valid score must be between 0-100) 5) Set weight for test to 60% 6) Set weight for programming assignments to 30% 7) Set weight for Quiz to 10% B) Process 1) Test_Avg =( TestScore1 + TestScore 2+ TestScore3 ) /3 2) Average = Test_Avg * Test_Weight + Quizscore * Quiz_Weight + AssignmentScore * Assignment_Weight C) Output Format Requirements: Display the results in nice format, all labels and values lined up and all real numbers should only show 2 digits after the decimal point. Be as creative as you can be to make the output look good. The output should be formatted similar to lab 2 output. 1) Print student Name 2) Print 3 test scores with descriptive labels 3) Print test average of the tests with a descriptive label 4) Print quiz score with a descriptive label 5) Print programming score with a descriptive label 6) Print (final) average with a descriptive label

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!