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...
Type: Posts; User: cb5950
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...
I appreciate your help
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: ");...
ok that makes sense, as long as the input doesn't exceed the condition, it will keep running correct?
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...