Search:

Type: Posts; User: melki0795

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    1,349

    Re: WHy is it going straight to my exception?

    ah, i get it.. so the number is being accepted as a string and parsed into an integer. The string is forcing it to go straight to the exception?

    It works with .nextInt();

    Thanks!
  2. Replies
    5
    Views
    1,349

    Re: WHy is it going straight to my exception?

    ok, i did that. no idea whats its on about though

    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at...
  3. Replies
    5
    Views
    1,349

    WHy is it going straight to my exception?

    boolean markCheck = true;
    do{
    try{
    for (int i = 0; i <= amountAssignment-1; i++ ) {
    System.out.print("Homework Mark for Assignment " +(i+1) + ": ");
    ...
Results 1 to 3 of 3