Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Premium Land with House for Sale
anil1961
Updated:
Yesterday at 10:15 AM
AWS Certified Solutions Architect-Associate + AWS Certified Cloud Practitioner
Sanjeewani95
Updated:
Wednesday at 8:16 PM
🚀 එක පැකේජ් එකයි - මාසෙටම Unlimited Internet! 🌐
sayuru bandara
Updated:
Tuesday at 10:57 AM
🎬 CapCut Pro 1 Month Access! LKR 600
sayuru bandara
Updated:
Tuesday at 10:55 AM
🚀 Google One AI PRO Plan (Gemini Pro Activation) – 18 Months Access! LKR 2200
sayuru bandara
Updated:
Tuesday at 10:53 AM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
NEED HELP..!!! C++ wikara
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="maxXxa" data-source="post: 7596116" data-attributes="member: 278721"><p>Suppose you are a teacher faced with the problem of computing final grades for </p><p>all the students in one of your classes this semester. During the course of the</p><p>term, you gave four tests each worth 100 points. In addition, there was a midterm</p><p>and a final examination. Like the tests, each of these exams were out of 100</p><p>points. In addition to the tests and exams, there was a term paper also out of 100</p><p>points. The tests are worth 30% of the final grade. The midterm is worth 20%,</p><p>and the final is worth 30%. The remaining 20% of the grade is determined by the</p><p>term paper. So, a student's final average is given by the following formula:</p><p></p><p>final grade = 30% (sum of the four tests) + 20% (midterm grade) + 30% (final</p><p>exam grade) + 20% (term paper)</p><p></p><p>Finally, your have to find the final grades using the following formula.</p><p>90<= marks<= 100:::::::::::::::::::::::::::::A</p><p>87<= marks<=89::: ::::: :::::: ::::::::::::: ::::B+</p><p>80<= marks<=86:::::::::: :::::: ::::::::: ::::::B</p><p>77<= marks<=79:::::::: :::::::: :::::::: :::::::C+</p><p>70<= marks<=7 6:::::::::::::::::::::::::::::::C</p><p>67<= marks<=69:::::::::::::::::::::::::::::: D+</p><p>57<= marks<=66:::::::::::::: ::::::::::: ::::: D</p><p>0<= marks<=56:::::::::::::::::::::::::::::::::F</p><p></p><p>Your C++ program should accept the marks and then prints the final grade. Your</p><p>program is to repeat till the user enters 999.</p><p></p><p>A sample output is as follows:</p><p>, Input the grade for test #1: 78</p><p>Input the grade for test #2: 93</p><p>Input the grade for test #3: 84</p><p>Input the grade for test #4: 66</p><p>Input the grade for the midterm exam: 77</p><p>Input the grade for the final exam: 91</p><p>Input the grade for the term paper: 83</p><p>The final average is: 89.04</p><p>The final letter grade is: B+</p><p><img src="/styles/default/xenforo/smilies/default/sorry.gif" class="smilie" loading="lazy" alt=":sorry:" title="Sorry :sorry:" data-shortname=":sorry:" /><img src="/styles/default/xenforo/smilies/default/sorry.gif" class="smilie" loading="lazy" alt=":sorry:" title="Sorry :sorry:" data-shortname=":sorry:" /><img src="/styles/default/xenforo/smilies/default/sad.gif" class="smilie" loading="lazy" alt=":(" title="Sad :(" data-shortname=":(" /><img src="/styles/default/xenforo/smilies/default/sad.gif" class="smilie" loading="lazy" alt=":(" title="Sad :(" data-shortname=":(" /></p></blockquote><p></p>
[QUOTE="maxXxa, post: 7596116, member: 278721"] Suppose you are a teacher faced with the problem of computing final grades for all the students in one of your classes this semester. During the course of the term, you gave four tests each worth 100 points. In addition, there was a midterm and a final examination. Like the tests, each of these exams were out of 100 points. In addition to the tests and exams, there was a term paper also out of 100 points. The tests are worth 30% of the final grade. The midterm is worth 20%, and the final is worth 30%. The remaining 20% of the grade is determined by the term paper. So, a student's final average is given by the following formula: final grade = 30% (sum of the four tests) + 20% (midterm grade) + 30% (final exam grade) + 20% (term paper) Finally, your have to find the final grades using the following formula. 90<= marks<= 100:::::::::::::::::::::::::::::A 87<= marks<=89::: ::::: :::::: ::::::::::::: ::::B+ 80<= marks<=86:::::::::: :::::: ::::::::: ::::::B 77<= marks<=79:::::::: :::::::: :::::::: :::::::C+ 70<= marks<=7 6:::::::::::::::::::::::::::::::C 67<= marks<=69:::::::::::::::::::::::::::::: D+ 57<= marks<=66:::::::::::::: ::::::::::: ::::: D 0<= marks<=56:::::::::::::::::::::::::::::::::F Your C++ program should accept the marks and then prints the final grade. Your program is to repeat till the user enters 999. A sample output is as follows: , Input the grade for test #1: 78 Input the grade for test #2: 93 Input the grade for test #3: 84 Input the grade for test #4: 66 Input the grade for the midterm exam: 77 Input the grade for the final exam: 91 Input the grade for the term paper: 83 The final average is: 89.04 The final letter grade is: B+ :sorry::sorry::(:( [/QUOTE]
Insert quotes…
Verification
Awruddata maasa keeyada?
Post reply
Top
Bottom