Answered Essay: Numeric value displayed should be preceded by a dlear, coneis The let l humeric va total points earned Assi la

i need help creating this switch statement

umeric value displayed should be preceded by a dlear, coneis The let l humeric va total points earned Assi label stating what the number means. T ints to the correct row in the table given under thehe appropt lement efficient grade range checks to determine the 0, 800, e put by the user. The letter grade is determined by matchinta ter n the Sy need to implen iven under the Grading section in the Syllabus. Your code will syllabus. Use named constants for the grade as an upper case letter in variable of ty appropriate letter grade based on the table in the double is not needed since all nge boundaries (900, 800, etc.) and store the determined letter entries are int not use any variables of type, double, in this program tegers and th earned are less then 240, ie, 60% of the total possible. in e course rule thatgers and the grade range boundaries are integers. Your program matically assigns a letter grade of F when the Final Exam points Your program must use a switch statement on the letter grade (ype, charto p following support messages: print one and only one of the 1. For an A, print: Great job! Y 2. For a B, print: Good job! You should have little trouble in CSC205. 3. For a C, print: Ok, you passed, but you may be challenged in CSC205 4. For a D, print: When you retake this course, you will be able to do much better. 5. For an F, print either: ou will have no problem in CSC205 You did not put forth enough effort to pass this course. or You did not score enough points on the Final Exam to pass this course. s of information are displayed (in the order listed above), the program should terminate after isplaying: myGrade is now terminating

Numeric value displayed should be preceded by a dlear, coneis The let l humeric va total points earned Assi label stating what the number means. T ints to the correct row in the table given under thehe appropt lement efficient grade range checks to determine the 0, 800, e put by the user. The letter grade is determined by matchinta ter n the Sy need to implen iven under the Grading section in the Syllabus. Your code will syllabus. Use named constants for the grade as an upper case letter in variable of ty appropriate letter grade based on the table in the double is not needed since all nge boundaries (900, 800, etc.) and store the determined letter entries are int not use any variables of type, double, in this program tegers and th earned are less then 240, ie, 60% of the total possible. in e course rule thatgers and the grade range boundaries are integers. Your program matically assigns a letter grade of F when the Final Exam points Your program must use a switch statement on the letter grade (ype, charto p following support messages: print one and only one of the 1. For an A, print: Great job! Y 2. For a B, print: Good job! You should have little trouble in CSC205. 3. For a C, print: Ok, you passed, but you may be challenged in CSC205 4. For a D, print: When you retake this course, you will be able to do much better. 5. For an F, print either: ou will have no problem in CSC205 You did not put forth enough effort to pass this course. or You did not score enough points on the Final Exam to pass this course. s of information are displayed (in the order listed above), the program should terminate after isplaying: myGrade is now terminating

Expert Answer

 

#include<stdio.h>

/*

Because, you are not provided grading section,i am asuming

that, 240 is 60%, so total marks should be equals to 400.

there are 3 subject marks we are taking from user.so, one

subject is 100 and the remaining 2 subjects are 150 each.

i am following below grading system

less than 60% –>F

between 60%-70% –>D

between 70%-80% –>C

between 80%-90% –>B

between 90%-100% –>A

*/

int main()

{

int sub1,sub2,sub3,total;

char grade;

//getting 3 subject marks from user

printf(“Enter 3 subject marks:”);

scanf(“%d%d%d”,&sub1,&sub2,&sub3);

//calculating total of the 3 subjects

total=sub1+sub2+sub3;

//if total is less than 240. i.e less than 60% grade is F

if(total<240)

grade=’F’;

//if total is between 240 and 280, i.e between 60% to 70%, grade is D

else if(total>=240&&total<280)

grade=’D’;

//if total is between 280 and 320, i.e between 70% to 80%, grade is C

else if(total>=280&&total<320)

grade=’C’;

//if total is between 320 and 360, i.e between 80% to 90%, grade is B

else if(total>=320&&total<360)

grade=’B’;

//if total is between 360 and 400, i.e between 90% to 100%, grade is A

else

grade=’A’;

//Now its time for grading

switch(grade)

{

case ‘A’:

printf(“nGrade:%cn”,grade);

printf(“nGreat Job! You will have no problem in CSC205n”);

break;

case ‘B’:

printf(“nGrade:%cn”,grade);

printf(“nGood Job! You should have little trouble in CSC205n”);

break;

case ‘C’:

printf(“nGrade:%cn”,grade);

printf(“nOk, you passed, but you may be challenged in CSC205n”);

break;

case ‘D’:

printf(“nGrade:%cn”,grade);

printf(“nWhen you retake this course,you will be able to do much bettern”);

break;

case ‘F’:

printf(“nGrade:%cn”,grade);

printf(“nYou did not score enough points on the Final Ex@m to pass this coursen”);

break;

}

printf(“nmyGrade is now terminatingn”);

}

Buy Essay
Calculate your paper price
Pages (550 words)
Approximate price: -

Help Me Write My Essay - Reasons:

Best Online Essay Writing Service

We strive to give our customers the best online essay writing experience. We Make sure essays are submitted on time and all the instructions are followed.

Our Writers are Experienced and Professional

Our essay writing service is founded on professional writers who are on stand by to help you any time.

Free Revision Fo all Essays

Sometimes you may require our writers to add on a point to make your essay as customised as possible, we will give you unlimited times to do this. And we will do it for free.

Timely Essay(s)

We understand the frustrations that comes with late essays and our writers are extra careful to not violate this term. Our support team is always engauging our writers to help you have your essay ahead of time.

Customised Essays &100% Confidential

Our Online writing Service has zero torelance for plagiarised papers. We have plagiarism checking tool that generate plagiarism reports just to make sure you are satisfied.

24/7 Customer Support

Our agents are ready to help you around the clock. Please feel free to reach out and enquire about anything.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

HOW OUR ONLINE ESSAY WRITING SERVICE WORKS

Let us write that nagging essay.

STEP 1

Submit Your Essay/Homework Instructions

By clicking on the "PLACE ORDER" button, tell us your requires. Be precise for an accurate customised essay. You may also upload any reading materials where applicable.

STEP 2

Pick A & Writer

Our ordering form will provide you with a list of writers and their feedbacks. At step 2, its time select a writer. Our online agents are on stand by to help you just in case.

STEP 3

Editing (OUR PART)

At this stage, our editor will go through your essay and make sure your writer did meet all the instructions.

STEP 4

Receive your Paper

After Editing, your paper will be sent to you via email.