Determine how many of each item should be ordered

Assignment Help Computer Engineering
Reference no: EM132087386

Overview: This assignment will allow you to use pseudocode to implement the program to see the value in planning first, coding later.

While coding is the glamorous part of the job, software development is a process with many steps. The program itself will focus on operators to complete an equation.

Prompt: Before completing this assignment, be sure to review the Module Two resources. Use the Guide to Pseudocode document to write out the pseudocode for the given problem:

Imagine that you are a merchant and need to keep better tabs on your merchandise to know when to reorder supplies.

First, write out pseudocode, and then create a program to help you by accomplishing the following tasks:

Use a dialog box to ask the user to input the following. (You will need to convert this from a string to an integer.)

How many apples are on hand

How many apples should be in stock

How many oranges are on hand

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 a dialog box 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:

I. Documentation: Pseudocode:

Break down the problem statement into programming terms through creation of pseudocode following the guidelines provided in the course.

II. Functioning Code: Produce fully functioning code (a code that produces no errors) that aligns with the accompanying annotations.

III. Code Results: Results are properly generated.

A. Code results generate accurate output.

B. 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.

A. 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.

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. Develop logically organized code that can be modified and maintained.

B. Utilize proper syntax, style, and language conventions and best practices.

Reference no: EM132087386

Questions Cloud

Develop a java 2d graphics application : Develop a Java 2D graphics application that creates 3 images. Prepare, conduct and document a test plan verifying each method.
Control of resources in its sphere of the world : How did Social Darwinism play into German policy towards the Jews and other subject peoples?
Determine how many of each item should be ordered : Imagine that you are a merchant and need to keep better tabs on your merchandise to know when to reorder supplies.
Nodes of ranvier in a myelinated nerve : What would happen if you lost the nodes of Ranvier in a myelinated nerve? Would the message travel faster, slower
Write a program that will find several trait of a collection : Write a program that will find several traits of a collection of NN numbers. Get the value of NN before scanning each value in the collection of NN numbers.
Why do pain receptors do not undergo adaptation : Why do pain receptors do not undergo adaptation, but other receptor types do?
Calculate the sum of the digits in the odd-numbered position : Calculate the sum of the digits in the odd-numbered position (first, third, ..., eleventh). Multiply this sum by three.

Reviews

Write a Review

Computer Engineering Questions & Answers

  If you were the system analyst in bec corporate is

if you were the system analyst in bec corporate is department and you had recieved call from carrie douglas about her

  Can you provide some insight and information

Can you provide some insight and information as to how this can help me be more productive? Do you know what might be causing this or what I should check?

  What are differences between network line continuity testers

What are the differences between network line continuity testers and network cable testers? How can you determine what has happened?

  Write the constructor accessor mutator and tostring methods

Write a client class to test creating Trivia objects. Write the constructor, accessor, mutator and toString methods.

  Build an application that produces non-personalized greeting

Build an application that produces a simple non-personalized greeting to the user. The application must count the number of times it is run.

  Determine heat transfer rate from the can surface

A can of engine oil with a length of 150 mm and a diameter of 100 mm is placed vertically in the trunk of a car.

  Questionconsider an adt called squarematrix the matrix can

questionconsider an adt called squarematrix. the matrix can be represented by a two-dimensional array of integers with

  Define java programming with commented code

Java Programming with Commented Code, A marketing research company has hired you to develop a program. Analytics Nation, Inc. has gathered information from about five different products

  Write a conditional statement with three branches

Write a conditional statement with three branches that sets s to 1 if x is positive, to -1 if x is negative, and to 0 if x is zero.

  How can cryptography can be used to facilitate security

How can cryptography can be used to facilitate security, How can the security of IoT be improved

  Create a function definition called addarray

Write down a function definition called addarray that takes two parameters- one an array as an int and the other an int that contains the number of elements of the array. The function would return the sum of the number of elements of the array as ..

  Determine the actual value loaded into the accumulator

Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator (AC)

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd