bump........
Type: Posts; User: robertsbd
bump........
ok i changed from !=0 to >=0 but when i enter a negative number i get this
Exception in thread "main" java.lang.ArithmeticException: / by zero
at Assign7_2_Roberts.main(Assign7_2_Roberts.java:26)
im working on the do-while loop assignment and the output "enter a number that is positive or zero" doesnt end
heres my code
import java.util.Scanner ;
public class Assign7_2_Roberts{
i also have to do the exact same thing but using the do-while loop
so it seems i gotta lot of work to do..im really new to java so im still tryin to figure out what all lingo used in java means
having trouble using for while loop
this is what im supposed to do:
Write a program that will read an unspecified number of positive numbers from the keyboard and determine the sum and...