subject

Mr. Hoxha keeps his student records in a file. He normally has two exams, two homework and two quizzes in a semester. That is a regular student takes 6 exams, but not all students can take all the exams. Sometimes because of some personal problems students skip some exams. Mr. Hoxha accepts excuses up to two exams. If a student has four, five or six exams, then his average is calculated out of the exams that he has taken. But if any student takes less than four exams his average is calculated out of four exams. Required:
Write a program that reads the name, surname and exam information for n students and then shows the student with the highest average.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 12:00
What is a sketch or blueprint of a web page that shows the structure (but not the detailed design) of basic page elements such as the logo, navigation, content, and footer?
Answers: 3
question
Computers and Technology, 24.06.2019 21:30
Aobject is used for displaying the results of a question based on stored data. a. query b. report c. table d. form
Answers: 2
question
Computers and Technology, 25.06.2019 04:30
Consider a list of full names formatted “firstname lastname”, like ["jules verne", "alexandre dumas", "maurice druon"]. write a list comprehension that produces a list with the full names in the format “lastname, firstname”. the resulting list should look like ['verne, jules', 'dumas, alexandre', 'druon, maurice']. the simplest solution may involve a nested comprehension: [ …. for … in [ … for … in … ]].
Answers: 3
question
Computers and Technology, 25.06.2019 14:00
Which of the following exceptions could occur when the following code is run, if the precondition is met? // precondition: a is not null public string dosomething(arraylist a, int b) { int i; string s; for (i = 0; i < = a.size(); i++) { s = (string)(a.get(i)); if (s.length() == b) { return s; } } return null; }
Answers: 1
You know the right answer?
Mr. Hoxha keeps his student records in a file. He normally has two exams, two homework and two quizz...
Questions
question
History, 18.09.2019 17:30
question
Mathematics, 18.09.2019 17:30