Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!
'Write a program that will find the smallest, the largest and the average value for a set of integer marks. The program will first ask the user to enter the number of marks. Following this the user will be asked to enter each mark in turn. Once the data is entered the program will process the data and output the values for the smallest mark, the biggest mark and the average of the set of marks.'
so you need to set up an array where by the number that gets entered gets added to it. then you will need to run some for loops to determine the highest, smallest and average number. which bit are you stuck at?