Menu

Someone Please Take Look Code Need Instructions First Second Picture Say Also Someone Plea Q43903876

Cansomeone please take a look at my code I need it to do what theinstructions in the first and second picture say. Also can someoneplease take a look at my code and tell me what you think.
P UCISILY IT 312 GPA Programming Guidelines and Rubric Imagine that you are a student about to graduate. You realize that it
Hugrun15 VISITICIL. USMg Operators to alculate GPA and Honors Instructions For this assignment, you will consider a scenario
Paragraph Styles 1/ GPAPseudocode. and ends there. This file contains the main function. Program execution begins #include <itargetver. h s tdafx.h GPAHonors.cpp - X GPAHonors (Global Scope) // GPAHonors.cpp: This file contains the main function.GPAHonors.cpp X GPAHonors - (Global Scope) float allnums - numi + num2 . num = num; - main float GPA - allnums / 4.0f; floatstdafx.h targetver.h GPAHonors GPAHonors.cpp - X (Global Scope) char D; char F: 1/ The letters above will represent the lettP UCISILY IT 312 GPA Programming Guidelines and Rubric Imagine that you are a student about to graduate. You realize that it would be handy to have a tool to help you calculate your GPA and determine whether you are graduating with honors. In the GPA scale, an Ais a 4.0, a Bis 3.0, a Cis 2.0, a Dis 1.0, and an Fis 0.O. GPA scales typically factor in course credits as well, but all of your classes are the same number of credits, so you can ignore that as a variable. Honor level is based on the following scale: greater than or equal to 3.9 is summa cum laude, 3.8 to 3.89 is magna cum laude, 3.65 to 3.79s cum laude, below 3.65 there are no honors given. Your graduation calculator should prompt the user to input four grades as the numerical value you can ask four times, one at a time), calculate the average of the inputted grades, display this value to the user, and display a Boolean (true or false) statement for each of the honor levels. You can use the grades A, A, B, and A as a test case, which should result in the following: Your GPA is 3.75. Graduating summa cum laude is false. Graduating magna cum laude is false. Graduating cum laude is true. Graduating without honors is false. Part I: Pseudocode The first part of this assignment is to create pseudocode that reflects the main elements of the logic that will drive the code. This section should not be produced using actual code. However, you should include important variables, calculations, relationships, and/or any critical components of the problem. Using the How to Write Pseudocode document for guidance, address the following: A. Analyze the given problem statement B. Break the problem down into distinct steps of pseudocode that will solve the problem, C. Create variables to track the various elements in the pseudocode. D it applicable, determine any breakdown of pseudocode into functions and/or classes E. Use natural language to work through the problems. Southem New Hampshire University Hugrun15 VISITICIL. USMg Operators to alculate GPA and Honors Instructions For this assignment, you will consider a scenario in which you need to calculate your own GPA to determine whether you will graduate with honors. You will first create pseudocode to outline the structure of the program. Using this pseudocode, you will then write the code for a functioning program that calculates GPA and honor level. Review the How To Write Pseudocode document for guidance on writing pseudocode. To complete this assignment, review the GPA Programming Guidelines and Rubric document. Submissions No submissions yet. Drag and drop to upload your assignment below. Paragraph Styles 1/ GPAPseudocode. and ends there. This file contains the main function. Program execution begins #include <iostream> function doRrogaming.twdametesLoREZ Create float variables to hold GPA SET each nun variable to e.of to represent a float so decimals can be included After each variable display to user to Enter number. ADD a sin >> to get system to wait on user. CREATE a float variable for all the numbers added up DISPLAY to user their GPA CREATE another Float variable and set it equal to all nuns divided by 4.0F; Create a float variable for each of the honors. CREATE achar variable for each letter grade. Create if than statement for each GPA SET bool based on if than statement for true or false statements. ing en I! Run program Ctrl + F5 or Debug > Start without be // Debug program F5 or Debug > Start Debuggingen 1 1 11 Tips for Getting Started: 1 . Use the solution Explorer window to add/manage files 2. Use the Team Explorer window to connect to source control 1 3. Use the Output window to see build output and other spes 4 . Use the Error List window to view errors S e to Project > Add New Ite to create new code files Project > A Ite to existing code files to the project In the future, teen this project in the open woject the file EXE select targetver. h s tdafx.h GPAHonors.cpp” – X GPAHonors (Global Scope) // GPAHonors.cpp: This file contains the ‘main’ function. Program execution begins and ends the – maino 4 5 E#include <iostream> #include “stdafx. Sinclude <cstdlib> #include “targetver.h” #include <time> 7 using namespace std; 10 11 12 Int main() NON 1 Use floats to make code able to float num – .ef: std::cout<<“Enter First Number: cin >> nul: float n 2 = 8.ef: std::cout < Enter Second Numbers sin >> nm2 float num3 -0.0f; std: cout <<“Enter Third Number: cin >> num; at .0f; std::cout <<“Enter Fourth Number:”, float allnums – numinum2 num float GPA alinum / 4. Error List Entire Solution Code 41 Warnings Messages By Build IntelliSense Errors Description – . unnsedlosely Project GPA or File part PP GPAHonors.cpp” X GPAHonors – (Global Scope) float allnums – numi + num2 . num = num; – main float GPA – allnums / 4.0f; float summa_cum_laude -.; // greater than or equal to 3.9 float magna cum laude – 3.0; // 3.8 to 3.89 float cum_laude – @.of; // 3.65 to 3.79 float no honors = e.ef; // below 3.65 std::cout << – Your GPA is: ” << + GPA << “n”; rif (GPA >- 3.9F) bool summa cum laude = true; else bool surma_sun_laude = false; if (GPA 3.8f lif < 3.894) bool magna_cum_laude = true; else bool magna cum laude = false; 65 66 / // The statement above needs to be checked. am not sure how to fix it yet. char A; char B; char C char D; char F; // The letters above will represent the letter grade you recieve Error List stdafx.h targetver.h GPAHonors GPAHonors.cpp” – X (Global Scope) char D; char F: 1/ The letters above will represent the letter grade you recieve 1 1 std::cout << “Summa cum laude” << std::cout <“Magna cum laude” summa_cum_laude; fix this statement later nagna cum laude; fix this statement later return : 86 87 ) Ell Run program: Ctrl + F5 or Debug > Start Without Debugging menu // Debug program F5 or Debug > Start Debugging menu 91 92 93 95 96 97 0 99 / Tips for Getting Started: 1! 1. Use the solution Explorer window to add/manage files 2 . Use the Team Explorer window to connect to source control / 3. Use the Output window to see build output and other messages // 4. Use the Error List window to view errors / 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Ites to add existing code files to t 1 6. In the future, to open this project again, go to File > Open > Project and select the sin file 101 102 GPAPseudocode.cpp : This file contains the main function. Program execution begins and ends there. 1 104 105 106 1/#include <iostream> // function doprogramming_tw_dametresLopez Il Create variable to hold GPA numbers Il Run program: Ctrl + FS or Debug > Start without Debugging ben // Debug program: F5 or Debug > Start Debugging menu EW! Tips for Getting Started: 1 1. Use the solution Explorer window to add/manage files 116 Error List Show transcribed image text P UCISILY IT 312 GPA Programming Guidelines and Rubric Imagine that you are a student about to graduate. You realize that it would be handy to have a tool to help you calculate your GPA and determine whether you are graduating with honors. In the GPA scale, an Ais a 4.0, a Bis 3.0, a Cis 2.0, a Dis 1.0, and an Fis 0.O. GPA scales typically factor in course credits as well, but all of your classes are the same number of credits, so you can ignore that as a variable. Honor level is based on the following scale: greater than or equal to 3.9 is summa cum laude, 3.8 to 3.89 is magna cum laude, 3.65 to 3.79s cum laude, below 3.65 there are no honors given. Your graduation calculator should prompt the user to input four grades as the numerical value you can ask four times, one at a time), calculate the average of the inputted grades, display this value to the user, and display a Boolean (true or false) statement for each of the honor levels. You can use the grades A, A, B, and A as a test case, which should result in the following: Your GPA is 3.75. Graduating summa cum laude is false. Graduating magna cum laude is false. Graduating cum laude is true. Graduating without honors is false. Part I: Pseudocode The first part of this assignment is to create pseudocode that reflects the main elements of the logic that will drive the code. This section should not be produced using actual code. However, you should include important variables, calculations, relationships, and/or any critical components of the problem. Using the How to Write Pseudocode document for guidance, address the following: A. Analyze the given problem statement B. Break the problem down into distinct steps of pseudocode that will solve the problem, C. Create variables to track the various elements in the pseudocode. D it applicable, determine any breakdown of pseudocode into functions and/or classes E. Use natural language to work through the problems. Southem New Hampshire University
Hugrun15 VISITICIL. USMg Operators to alculate GPA and Honors Instructions For this assignment, you will consider a scenario in which you need to calculate your own GPA to determine whether you will graduate with honors. You will first create pseudocode to outline the structure of the program. Using this pseudocode, you will then write the code for a functioning program that calculates GPA and honor level. Review the How To Write Pseudocode document for guidance on writing pseudocode. To complete this assignment, review the GPA Programming Guidelines and Rubric document. Submissions No submissions yet. Drag and drop to upload your assignment below.
Paragraph Styles 1/ GPAPseudocode. and ends there. This file contains the main function. Program execution begins #include function doRrogaming.twdametesLoREZ Create float variables to hold GPA SET each nun variable to e.of to represent a float so decimals can be included After each variable display to user to Enter number. ADD a sin >> to get system to wait on user. CREATE a float variable for all the numbers added up DISPLAY to user their GPA CREATE another Float variable and set it equal to all nuns divided by 4.0F; Create a float variable for each of the honors. CREATE achar variable for each letter grade. Create if than statement for each GPA SET bool based on if than statement for true or false statements. ing en I! Run program Ctrl + F5 or Debug > Start without be // Debug program F5 or Debug > Start Debuggingen 1 1 11 Tips for Getting Started: 1 . Use the solution Explorer window to add/manage files 2. Use the Team Explorer window to connect to source control 1 3. Use the Output window to see build output and other spes 4 . Use the Error List window to view errors S e to Project > Add New Ite to create new code files Project > A Ite to existing code files to the project In the future, teen this project in the open woject the file EXE select
targetver. h s tdafx.h GPAHonors.cpp” – X GPAHonors (Global Scope) // GPAHonors.cpp: This file contains the ‘main’ function. Program execution begins and ends the – maino 4 5 E#include #include “stdafx. Sinclude #include “targetver.h” #include 7 using namespace std; 10 11 12 Int main() NON 1 Use floats to make code able to float num – .ef: std::cout nul: float n 2 = 8.ef: std::cout > nm2 float num3 -0.0f; std: cout num; at .0f; std::cout

Expert Answer


Answer to Can someone please take a look at my code I need it to do what the instructions in the first and second picture say. Als…

OR