1) Mr. Smith is an instructor and his students often wish to know the class
average of his exams.
Create a program that will allow Mr. Smith to enter what the exam is out of, all
the marks for his students and display the average of the marks. Mr. Smith doesn’t
know the exact number of students he has, so he would like to enter the marks
until he types in -1.
2) Write a program, using loops, that generates the following diamond and outputs it
to the console.
Note that every line contains an odd number of circles.
3)Write a program that accepts five input values and stores them into an array. The
program should display those five numbers in reverse order. The program should
then display all the numbers in the array that are larger than the average of the
five numbers.
4) An election is approaching and the candidates of the election want a program to
determine who won the election, as well as who came in last place (in order to
laugh at him).
Develop a program that will allow the user to enter in the candidates names and
the number of votes that person received. The program will then sort the
information and output the names of the big winner and big loser.
(Hint: Use parallel arrays.)
If anybody can help me out with any of these it would be wicked.