|
ملتقى البرامج والانترنات والجرافيكس كل ما يختص بالكمبيوتر والانترنات من برامج ومعلومات وخدمات مجانية |
|
أدوات الموضوع | انواع عرض الموضوع |
#1
|
||||
|
||||
![]() السلام عليكم ورحمة الله وبركاته
أنا الحين ماخذه مادة " how to program ++C" وعندي مسألة وأريد حلها فأريد مساعدة منكم ضروري Write the grades program using the following specifications:-![]() وهذا هو السؤال Write the grades program, which is concerned with determining the end of year rating for each student, given the exam marks that each student achieves. Each student has eight exam marks in the range 0 to 100. A mark >= 40 is considered a pass. To pass the year of study a student must have at least six individual pass marks and in addition the overall total must be >= 320 and the average must also be a passing mark of at least 40%. If a student does not meet these criteria, the student is given a FAIL rating. If a student does pass the year, the student is given a rating dependent on the overall total as following: Total >= 560 EXCELLENT Total >= 480 VERY GOOD Total >= 400 GOOD Total >= 320 SATISFACTORY Total < 320 FAIL Your output should have proper titles for the marks, number of passes, total, and rating, as shown below: Example 1: input/output Enter eight exam marks separated by a space = = = = = = = = = = = = = = = = = = = = = = 81 82 83 84 85 86 87 88 Results of the student = = = = = = = = = = = = Exam Marks: 81, 82, 83, 84, 85, 86, 87, 88 Number of Passes = 8 Total Mark = 676 Rating = EXCELLENT Example 2 input/output Enter eight exam marks separated by a space = = = = = = = = = = = = = = = = = = = = = = = 21 22 23 24 25 26 27 28 Results of the student = = = = = = = = = = = = Exam Marks: 21, 22, 23, 24, 25, 26, 27, 28 Number of Passes = 0 Total Mark = 196 Rating = FAIL
__________________
عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان عمان |
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
|
|
Powered by vBulletin V3.8.5. Copyright © 2005 - 2013, By Ali Madkour |