The program below computes the maximum exam mark for multiple students. The user enter student name and the marks of three exams. The program stops for student name with empty input

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 9RQ
icon
Related questions
Question
for student name with empty input
if mark > max:
max = float(input("Enter exam 1 mark: "))
mark = float(input("Enter exam "+str(i)+ " mark: "))
%3D
while name !!="":
max = mark
for i in range(1,3):
name =
input("Enter student name: ")
print(name, "maximum mark: ", max)
name = input("Enter student name: ")
%3D
Transcribed Image Text:for student name with empty input if mark > max: max = float(input("Enter exam 1 mark: ")) mark = float(input("Enter exam "+str(i)+ " mark: ")) %3D while name !!="": max = mark for i in range(1,3): name = input("Enter student name: ") print(name, "maximum mark: ", max) name = input("Enter student name: ") %3D
question
The programn below computes the maximum exam mark for multiple students.
The user enter student name and the marks of three exams. The program stops
for student name with empty input
Transcribed Image Text:question The programn below computes the maximum exam mark for multiple students. The user enter student name and the marks of three exams. The program stops for student name with empty input
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning