#MARIAM ALDAIHANI
# program that asks users to enter name and scores for the tests
# asking for user input
print('What is your name:')
Fullname=input()
print('what is your test1 score:')
test1=int(input())
print('What is your test2 score:')
test2=int(input())
print('What is your homework score')
homework=int(input())
print('What is your group presentation score:')
groupPresentation=int(input())
#computation of the total score
totalscore=int(test1*0.35+test2*0.35+homework*0.15+groupPresentation*0.15)
#displaying the information,score and grade
print("your name is:" +Fullname)
print("Test1:", test1)
print("Test2:", test2)
print("Homework:", homework)
print("Group presentation:",groupPresentation)
print("Course score:",totalscore)
#if statement that determines the grade
if totalscore>=90 and totalscore<=100:
print("Course grade: A")
elif totalscore>=80 and totalscore<90:
print("Course grade: B")
elif totalscore>=70 and totalscore<80:
print("Course grade: C")
elif totalscore>=60 and totalscore<70:
print("Course grade: D")
elif totalscore>=0 and totalscore<60:
print("Course grade: F")
#if else statement to notify student if he passed or failed
if totalscore >=70 and totalscore<=100:
print("Congraturations you passed this class!!!!")
else:
print("So sad, You failed this class")
# program that asks users to enter name and scores for the tests
# asking for user input
print('What is your name:')
Fullname=input()
print('what is your test1 score:')
test1=int(input())
print('What is your test2 score:')
test2=int(input())
print('What is your homework score')
homework=int(input())
print('What is your group presentation score:')
groupPresentation=int(input())
#computation of the total score
totalscore=int(test1*0.35+test2*0.35+homework*0.15+groupPresentation*0.15)
#displaying the information,score and grade
print("your name is:" +Fullname)
print("Test1:", test1)
print("Test2:", test2)
print("Homework:", homework)
print("Group presentation:",groupPresentation)
print("Course score:",totalscore)
#if statement that determines the grade
if totalscore>=90 and totalscore<=100:
print("Course grade: A")
elif totalscore>=80 and totalscore<90:
print("Course grade: B")
elif totalscore>=70 and totalscore<80:
print("Course grade: C")
elif totalscore>=60 and totalscore<70:
print("Course grade: D")
elif totalscore>=0 and totalscore<60:
print("Course grade: F")
#if else statement to notify student if he passed or failed
if totalscore >=70 and totalscore<=100:
print("Congraturations you passed this class!!!!")
else:
print("So sad, You failed this class")