in Education by
write a program in python to enter the mark in 3 subjects and calculate total and assign grade. If total >= 200 grade is ‘A’ otherwise grade is ‘B’ Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Explanation: Hi friend, Here is your code sub1=int(input(“Enter marks of the first subject: “)) sub2=int(input(“Enter marks of the second subject: “)) sub3=int(input(“Enter marks of the third subject: “)) avg=(sub1+sub2+sub3)/3 if(avg>=200): print(“Grade: A”) elif(avg>=150&avg<190): print(“Grade: B”) elif(avg>=30&avg<140): print(“Grade: C”) Hope this will help you please try to mark it as brainliest….. It took a lot of time for me to write….

Related questions

0 votes
    to write a program to accept marks of three subjects and find the total mark and average marks in 3 subject Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    to write a program to accept marks of three subjects and find the total mark and average marks in 3 subject Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to store the marks of any 5 subjects in different variables. Calculate total and average. ... ANY INPUT METHOD Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to store the marks of any 5 subjects in different variables. Calculate total and average. ... total and average. Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    Using Scanner, input name, class, div, roll number and marks in three subjects of a student. Calculate total ... total and average. Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    write a program to read an integer and find its reverse. note: if user enter 1234 then the output should be 4321 in Python Select the correct answer from above options...
asked Dec 2, 2021 in Education by JackTerrance
0 votes
    Write a program in Java to input any age and determine whether the age is valid or  invalid. If age is ... is valid otherwise invalid. Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    Write a program in java to display the given pattern. 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Please ... as brainlist Please answer it very fast Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    write a program to enter a sentence and check if it contains palindrome words or not. if yes then count and ... present. Java class 10 Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    d. Consider the following python program, intended to calculate factorials: 3 number = int(input( enter number')) ... fix this program? Select the correct answer from above options...
asked Dec 15, 2021 in Education by JackTerrance
0 votes
    Tell the user to enter your name then read in and assign to a variable a string typed in by the user Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    Tell the user to enter your name then read in and assign to a variable a string typed in by the user Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    A customer purchased cold drinks of various brands. He purchased 5 bottles at a price of `35 per bottle and ... make him/her brainlest Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    write a program in python to obtain 3 numbers and print their sum. Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
...