Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The Program I need to write is in the the picture it is in Python, thank you! Wr

ID: 3541577 • Letter: T

Question

The Program I need to write is in the the picture it is in Python, thank you!

Write a program [a group of statements) to calculate course total marks using the following steps: The program prompts the user to enter the student name with the following statement: "What is the name of the student?" The user enters the student name and save it in a string variable called student_name The program prompts the user to enter the mark of first midterm with the following statement: "Enter the mark of the first midterm (0-100)" The user enters the value of first midterm and save it in an integer variable called midterm1 The program prompts the user to enter the mark of second midterm with the following statement: "Enter the mark of the second midterm (0-100)" The user enters the value of second midterm and save it in an integer variable called midterm2 The program prompts the user to enter the mark of the final exam with the following statement: "Enter the mark of the final exam (0-100)" The user enters the value of final exam and save it in an integer variable called final Create a float variable called total which computes the total course mark by the following equation: ( 20 times midterm1 / 100 ) + ( 20 times midterm2 / 100 ) + ( 60 times final / 100 ) The output is printed in the following format: "The final mark of student_name is total out of 100".

Explanation / Answer

print " What is the name of the student?" ;

student_name= raw_input('What is the name of the student?');

midterm1=raw_input('Enter the mark of the first midterm(0-100)');

midterm2=raw_input('Enter the mark of the second midterm(0-100)');

final=raw_input('Enter the mark of the first final exam(0-100)');

Total = ((20*midterm1)+(20*midterm2)+(60*final))/100

print " The final Mark of"+ student_name+" is "+total+" out of 100" ;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote