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

System.out.println

Today I am working on Basic while loop for my App Development (Java) class, with user input and I have no idea who to write the code string they need

Here is the code

import java.util.Scanner;

public class NonNegativeLooper {

  public static void main (String [] args) {

   Scanner scnr = new Scanner(System.in);

   int userNum = 0;

   while (/* Your solution goes here */) { // here is where my code goes

     System.out.println(“Body”);

     userNum = scnr.nextInt();

   }

   System.out.println(“Done.”);

   return;

  }

}

please help

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