Introduction to programing quiz

In a certain class there were fifty-four students each taking seven units. The class administrator has requested you to develop a program that will help her capture marks scored by each student in every unit. The program should then compute the average score and determine the grade of each student and display the grade alongside the scores for each unit and average score for each student in a suitable format. Given that grading is determined as shown below, write the program that you will deliver to the administrator. [12 marks]

Average score

Grade

0-49

E

50-59

D

60-69

C

70-79

B

80-100

A

Write a program that accepts three integer values via the main method, then passes them to another function that increases the first value by 10%, second value by 15% and the last value by 20% such that, the main method prints the updated values.

Firstly, welcome to the forums.

While we are primarily here to help people with their Free Code Camp progress, we are open to people on other paths, too. Some of what you are asking is pretty trivial in the Free Code Camp context, so you might find that if you’re not getting the instruction and material you need in your current studies, the FCC curriculum will really help you get started. At a modest guess I’d say investing a 4-5 hours working through the curriculum here will really pay off. You can find the curriculum at https://www.freecodecamp.org/learn.

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

It is pretty typical on here for people to share a codepen / repl.it / jsfiddle example of what they have tried so that anyone helping has more of an idea of what help is actually helpful.

Please provide some example of what you’ve tried and I’m sure you’ll get more help.

Happy coding :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.