georgey acks's Profile

About

 
Points: 3

Contact

 

georgey acks
November 24, 2014 · Public

please Bucky,please guys i need your help with the solution to this programming.My teacher is killing me.this is the problem;
Write a C program that inputs a series of 10 numbers, and determines and prints the largest of the numbers.
Your program should use three variables as follows
counter: A counter to count to 10 (i.e., to keep track of how many numbers have been input and to determine when all 10 numbers have been processed)
number: The current number input to the program
largest: The largest number found so far
Pseudocode:
While counter is less than or equal to 10
input a new variable into the variable number
If number is greater than largest
replace largest with number
Increment counter

HELP HELP HELP.....INBOX ME PLEASE....ANYONE....BUCKY

georgey acks  >>  Bucky Roberts
November 14, 2014 · Public

Hello Bucky,I love your series and follow up on the c++ tutorials using codeblocks...Please i need to clarify some stuffs.I wrote this program that enables the computer to prompt me saying "Input student ID
",and then i will input my ID and it will display "Welcome Georgey".But the flaw is if i input any other number it will still display the Welcome message..What can i do?