Your first post was full of incorrect information.
NO! Count is the name of the variable and its type is an int. There is no String involved.
NO! Conditional statements do not compare the...
Type: Posts; User: Junky
Your first post was full of incorrect information.
NO! Count is the name of the variable and its type is an int. There is no String involved.
NO! Conditional statements do not compare the...
while user has not entered five numbers {
prompt for input
add input to sum
increment counter
}
display result
You only need three variables: current input, sum, counter.