ASSIGNMENT 2 Solution

$30.00 $24.00

Pseudocode: Create a new object for the class Toy. Open do-while loop Open another do-while loop Prompt user to enter child’s name Take input from keyboard Prompt user to enter the age of the child Take input from keyboard Prompt user to choose a toy (plushies, blocks, and books) Validate if choice of toy is…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

Pseudocode:

  1. Create a new object for the class Toy.
  2. Open do-while loop
  3. Open another do-while loop
  4. Prompt user to enter child’s name
  5. Take input from keyboard
  6. Prompt user to enter the age of the child
  7. Take input from keyboard
  8. Prompt user to choose a toy (plushies, blocks, and books)
  9. Validate if choice of toy is age appropriate
  10. If not appropriate ask if the user wants to cancel that toy request. (yes/no?)
  11. End do while loop (while choice== yes)
  12. Prompt user to add balloon or card to gift
  13. Take input from keyboard
  14. Display on the console the name, age and the total for gift
  15. Prompt user to add another gift or not(yes/no?)
  16. Take input from keyboard
  17. End do while loop (while reply==yes)
  18. Create a random 5-digit order number
  19. Display on the console the total amount of the order, a random five-digit order number, and the programmer name

ASSIGNMENT 2 Solution
$30.00 $24.00