Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93074859

Have any Question?


Related Questions in Computer Engineering

Question suppose we decide to add a new operation to our

Question : Suppose we decide to add a new operation to our Stack ADT called sizeIs, which returns avalue of primitive type int equal to the number of items on stack. The method signature for sizeIs is public int sizeIs() ...

What are some breakthrough events in the evolution of

What are some breakthrough events in the evolution of elearning?

Question need to discuss on issues and security

Question: Need to discuss on issues and security vulnerabilities caused by using 4 digit pin while accessing Banking. 1) Abstract 2) Acknowledgement 3) List of Abbreviations 4) Table of contents 5) List of tables 6) List ...

The standard bcd-to-7-segment decoder such as the 74ls47

The standard BCD-to-7-segment decoder (such as the 74LS47 used in the lab), has active-LOW outputs. Should the 7-segment display be common-anode or common-cathode? Why do you think the decoder is configured for active-LO ...

Question part 1 conflict within teamsthink of a conflict

Question: Part 1: Conflict within Teams Think of a conflict that occurred in a team you were a part of and analyze it. What were the main sources of the conflict? What interventions can be used to improve the quality of ...

What is the supply curve how do you apply the law of supply

What is the supply curve, how do you apply the law of supply in economics?

Susans special sauces is a company that produces a variety

Susan's Special Sauces is a company that produces a variety of condiments, salad dressings and sauces. Susan, the company owner, wants to distribute her product overseas and recently purchased a building on the outskirts ...

Why is a secure random number different than a

Why is a secure random number different than a statistically random number in security and if it weren't securely random everything that it could impact. For example, think of everywhere that we rely on them being secure ...

Question suppose you need to store 10 tb of data in a new

Question Suppose you need to store 10 TB of data in a new data center. How many 2 GB hard disks do you need if the hard disk should store up to 70% of their capacity using RAID 0, RAID 1, RAID 3, or RAID 5.

Question three academically reviewed articles on management

Question: Three academically reviewed articles on Management Information Systems and complete the following activities: 1. Summarize all three (3) articles in 600 words or more in APA format with reference 2. Discuss at ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As