¡@

Home 

java Programming Glossary: thesum

How do I get this code to stop input when the sum exceeds 100 and still preform the sum and average?

http://stackoverflow.com/questions/18797170/how-do-i-get-this-code-to-stop-input-when-the-sum-exceeds-100-and-still-preform

input float input 1 Declare variable for sum float theSum 0 Declare variable for average float average 0 Declare variable.. sum method and pass input and summation to sum method theSum sum input theSum Invoke avg method and pass summation and counter.. pass input and summation to sum method theSum sum input theSum Invoke avg method and pass summation and counter to avg average..