Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need a pseudocode for this Assignment! its java class and i need to write a pseudocode for this assignment. it's about builting an application
I need a pseudocode for this Assignment!
its java class and i need to write a pseudocode for this assignment.
it's about builting an application that will allow the user to select a toy for a child. the program should be written with JAVA application. i just need a structure like a pseudocode or a design document.
You have decided to use a specialized toy company to purchase birthday gifts for the young children of your friends and relatives. The toys you can choose are divided into three categories: plushies, blocks, and books. You can add a card and/or a balloon with each gift. Your program must print a title and a list of all the gifts to the console, with a total for each gift, and the total amount of the order. Your program must generate a random five-digit number to serve as the order number, followed by your name as programmer. The Toy class provided, will keep a total cost for one toy and determine if the toy is age-appropriate for the child. You should not make any changes to the Toy class. Assume that the user enters the name and age of the child correctly. All input items and messages will use Dialog boxes. Only the title, list of gifts, total, order number, and programmer name will be printed on the console. NOTE: if you use a Mac, you must use Alerts and TextInput Dialog; if you use a Windows machine, JOptionPane is slightly simpler, or you could use the Alerts/TextInput Dialog option. (See Week 2, Module 4) Use a Dialog box to display the welcome message. Ask for the name of the child. Ask for the age of the child. Ask for the toy choice and validate the input choice. Print out a message if the toy is not age appropriate and ask if the user wants to cancel fiat toy request If the user replies "yes", repeat the steps for the name, age, and toy choice. If the user replies "no", process the toy requested. Ask if a card or balloon should be added to the gift. Display on the console the name, age and the total for gift. Ask if another gift is desired. If yes, repeat the steps starting with the name of the child. If no, display on the console the total amount of the order, a random five-digit order number, and the programmer name. All costs displayed on the console should use currency format. Write about your Learning Experience, highlighting your lessons learned and learning experience from working on this project. What have you learned? What did you struggle with? What would you do differently on your next project? What parts of this assignment were you successful with, and what parts (if any) were you not successful with. GitHub: In your repository (see Lab 1), upload the files initially provided in Blackboard for the project. When you are finished with the design and programming, upload your design file and java files. You will want to upload these files as contents of a directory so that future uploads can be kept separate, Focus Input validation loops Relational and logical operators Use a worker class Create a driver class Currency format Random number generation Create a driver class called Birthday. This class will use the Toy class provided for you. Refer to Assignment Details for implementing the Birthday class Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started