Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

import java.util.Scanner

import java.util.Scanner;

public class CountToNum {

  public static void main (String [] args) {

     int userNum = 0;

     int i = 0;

     userNum = 4;

     for (i = 1; i <= userNum; i++)

     System.out.print (i);

     System.out.println(“”);

     return;

  }

}

How do I get my results to output the proper spacing EX: 1 2 3 4 instead of 1234?

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"