Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pseudocode and program help Imagine that you are a merchant and need to keep better tabs on your mehandise to know when to reorder supplies.
Pseudocode and program help
Imagine that you are a merchant and need to keep better tabs on your mehandise to know when to reorder supplies. First, write out pseudocode, and then create a program to help you by accomplishing the following tasks Use command line interface to ask the user to input the following. o How many apples are on hand o How many apples should be in stock o How many oranges are on hand o How many oranges should be in stock Perform an operation to determine how many of each item should be ordered to maintain the stock. Use command line interface to output the number of apples and oranges that need to be ordered . . Once you have the program laid out, build it by creating a functional program. Use your pseudocode as a guide. Be sure to remember the following important items: . Follow the style guidelines found in ZyBooks as you develop. . Use commenting to describe the code . Practice debugging if you encounter errors. Ensure your program performs its intended function. Specifically, the following critical elements must be addressed Documentation: Pseudocode: Break down the problem statement into programming terms through creation of pseudocode following the guidelines provided in the course I. I Functioning Code: Produce fully functioning code (a code that produces no errors) that aligns with the accompanying annotations. II Code Results: Results are properly generated A. B. Code results generate accurate output. Code results produce results that are streamlined, efficient, and error free IV Comments: All code should be well-commented. This is a practiced art that requires striking a balance between commenting everything, which adds a great deal of unneeded noise to the code, and commenting nothing Explain the purpose of lines or sections of your code, detailing the approach and method the programmer took to achieve a specific task in the code A. V. Style and Structure: Part of the lesson to be learned in this course is how to write code that is clearly readable and formatted in an organized manner A. B. Develop logically organized code that can be modified and maintained Utilize proper syntax, style, and language conventions and best practices. Guidelines for Submission: Submit your pseudocode as a DOC or DOCX file. Submit the program as a JAVA file Instructor Feedback: This activity uses an integrated rubric in Blackboard. Students can view instructor feedback in the Grade Center. For more information, review these instructionsStep 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