View RSS Feed


  1. Getting user input on how meany times to loop... dunno how

    by , 06-23-2013 at 12:04 AM
    I have ben trying to get this ... it wont let me change a string to a int. And i dont know of any other way please help
    I want the user to be able to put in a number and have the probram loop as meany times as the user puts in.. any ideas?
    here is the code i tryed
    Java Code:
    import java.util.Scanner;
    public class ae{
    	private static Scanner user_input;	
    	public static void main(string[] args){
    	System.out.println("How meany times to loop the code");