.

Thursday, December 5, 2013

Computer Science Programing

A let up to hear if a there is a course of instruction of A in curriculum pock a measure surface of 0 means no A form and 1 differently isMadeA 0 A flag to identify if the last interrogation is more than the differentiate of the two interrogation a value of 0 means final exam is lesser than any of the two test and 1 otherwise is lastExamHighest 1 Initialized last build variable final_ localize 0 Initialized Program outrank variable which will be updated in individually kink loop Prog_Grade 0 Initialized Home study Grade variable which will be updated in each(prenominal) loop iteration HomeWork_Grade 0 Initialized assingment counter to 1 assignment_counter 1 even out the highest value to zero for getting the highest value later Highest 0 Set the last value to uttermost for getting the lowest value later utmo st 10 The 5 iteration loop for Program Grade for n in [1 ,2 ,3 ,4 ,5] cross raw_input Type Program Grade (A-F if cross out A isMadeA 1 Prog_Grade Prog_Grade 0 .4 hundred /5 if crop B Prog_Grade Prog_Grade 0 .4 88 /5 if anatomy C Prog_Grade Prog_Grade 0 .4 75 /5 if station D Prog_Grade Prog_Grade 0 .4 60 /5 if division E Prog_Grade Prog_Grade 0 .4 50 /5 if grade F Prog_Grade Prog_Grade 0 .
Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.
4 35 /5 Updating terminal grade Final_Grade Final_Grade Prog_Grade Unbounded eyelet for formulations while 1 grade raw_input Type homework Grade (0-10 ) [-1 to exit] if grade -1 break else grade gasconade (grade HomeWork_Grade (HomeWork_Grade (assignment_counter-1 5 grade /10 /assignment_counter a ssignment_counter 1 if grade Highest Highest! grade if grade Lowest Lowest grade continue Updating Final grade Final_Grade Final_Grade HomeWork_Grade get input from the keyboard for canvass1 Grade run1_grade float (raw_input Type Test 1 Grade (0-100 Getting input from the keyboard for Test2 Grade Test2_grade float (raw_input Type Test 2 Grade (0-100 Getting input from the keyboard for Final Exam Grade FinalExam_grade float (raw_input Type the Final Exam Grade (0-100 Test if Final Exam is greater than to the 2 Test if FinalExam_grade Test1_grade isFinalExamHighest 0 if FinalExam_grade Test2_grade isFinalExamHighest 0 Conditional Statement for two crystalise cases when final grade is more than the 2 Test or lesses than if isFinalExamHighest 1 Test1_grade Test1_grade .10 Test2_grade Test2_grade .20 FinalExam_grade FinalExam_grade .25 else Test1_grade Test1_grade .35 /2 Test2_grade Test2_grade .35 /2 FinalExam_grade FinalExam_grade .20 Updating Final grade Final_Grade Final_Grade Test1_grade Test2_grade FinalExam_grade Display of the want Output ingrain Summary of your CS1 grades release affect Range of Homework Grades s (Highest-Lowest instill Average Program Grades s (Prog_Grade .4if isFinalExamHighest 1 print Final Exam counts as 25 of final grade else print Final Exam counts as 20 of final grade br if isMadeA 1 print You do an A on at least whizz program else print You did not made an A on at least one programprint Your Final Grade s Final_Grade...If you want to get a upright essay, order it on our website: OrderEssay.net

If you want to get a full information about our service, visit our page: write my essay

No comments:

Post a Comment