Search:

Type: Posts; User: cb5950

Search: Search took 0.10 seconds.

  1. Replies
    1
    Views
    1,701

    [SOLVED] Creating A Class

    I understand how to create a class, I am just confused about the type attributes. Can anyone assist me with this?


    Write class Computer with attributes brand, type, price. The type attribute is...
  2. Replies
    7
    Views
    2,360

    [SOLVED] Re: Using a For loop for repetition

    I appreciate your help
  3. Replies
    7
    Views
    2,360

    [SOLVED] Re: Using a For loop for repetition

    Oh ok. I am trying to nest the for loop inside a switch with two cases.


    switch(choice)
    {
    case 1:
    {
    System.out.printf("Enter number of washers purchased: ");...
  4. Replies
    7
    Views
    2,360

    [SOLVED] Re: Using a For loop for repetition

    ok that makes sense, as long as the input doesn't exceed the condition, it will keep running correct?
  5. Replies
    7
    Views
    2,360

    [SOLVED] Using a For loop for repetition

    I am trying to write a for-loop that lets the user enter how many times they want to repeat a given action.

    Basically the program asks the user how many washers or stoves they want to buy then...
Results 1 to 5 of 5