Computer Science, asked by gopichandm18, 7 hours ago

Write a Python program to calculate the internal
marks for the student based on two Continuous assessments, one model exam, and three assignments. To calculate the internal, 30 percent of assignment, 20 percent
of the model exam, and 50 percent of Continuous assessment are considered as
weightage

Answers

Answered by saksham7179
0

Answer:

I'd sand fjkrjdxbj kcxkiissuwnmakaocjc

Answered by vishakasaxenasl
0

Answer:

Python program to calculate the internal marks for the student based on two Continuous assessments, one model exam, and three assignments. To calculate the internal, 30 percent of assignments, 20 percent of the model exam, and 50 percent of Continuous assessments are considered as weightage.

internal_marks = 0

assignments_marks = int(input("Enter the marks of the assignment"))

mexam_marks = int(input("Enter the marks of the model exam"))

cassessments = int(input("Enter the marks of the continuous assessments"))

weightage1 = (assignments_marks x 30)/100

weightage2 = (mexam_marks x 20)/100

weightage3 = (cassessments x 50)/100

internal_marks = int(weightage1 + weightage2 + weightage3)

print(internal_marks)

Explanation:

  • First, we declare our internal_marks variable with the initial value of zero.
  • Then we take the input for assignment marks, model exams, and continuous assessments.
  • In three separate variables, we calculate the percentage of the weightage given in the internal marks.
  • Finally, we add all the weightage together and store the result in the internal_marks variable.
  • And print the output.

#SPJ3

Similar questions