Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum
Private Group for paid up members of Boards.ie. Join the club.
Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026
a little programming code pascal
-
02-11-1999 01:17PM#1
Comments
Advertisement
and keep asking the user for the number until the array bounds have been reached for every number you read in check if its 12 and if it is put the array subscript (say y) into a int varaable as y + 1 this let you tell the user the first time it was entered then the next time it is entered load it into a different varible (over write this one every time you come across 12 to give you the last time it was entered). then just figure out the max and min numbers and print out what ya what. QED.