Search:

Type: Posts; User: SaltSlasher

Search: Search took 0.14 seconds.

  1. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    This is how I turned in my code. She likes things in "paragraphs", and indented.




    import java.util.Scanner;
    public class Number
    {
    public static void main(String[] args)
    {
  2. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    oh nice, that is cool, thanks. I just finished my first month of Java Programming, so I ma new to this.

    Did I need to do < > ??
  3. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    Like this?



    import java.util.Scanner;
    public class Number
    {
    public static void main(String[] args)
    {
  4. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    import java.util.Scanner;
    public class Number
    {
    public static void main(String[] args)
    {

    Scanner input = new Scanner(System.in);

    System.out.printf("Enter a 5 Digit Number: ");
  5. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    It had crossed my mind to use String, I found tutorials that showed me how, but my teacher insisted that I use int.

    I am pretty sure the code that I wrote was what is suppose to be right.

    I...
  6. "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    I gave up asking my teacher and classmates because they refuse to give me an exact answer, and my Google searches have left me dry since yesterday, and I just can't figure this out.


    I need to...
Results 1 to 6 of 6