Design an application that will receive the weight of parcel

Assignment Help Computer Engineering
Reference no: EM131290590

Exercises & iLabs Logic and Design

Exercise

- Given a simple business problem that requires one or more decisions, create a solution algorithm that uses decisions with logical and relational expressions.

- Given a program with logic errors that is intended as a solution to a simple business problem, employ debugging diagnostics to remove and correct the errors.

Assignment: You will need to design an application that will receive the weight of a parcel and calculate and display the cost per kg and the delivery charge for that parcel. Calculate the charges using the following data:

Parcel Weight (kg) Cost per kg ($)
< 2.5="" kg="" $3.50="" per="" kg="">
2.5 to 5 kg $2.85 per kg
> 5kg $2.45 per kg

Make sure that the weight entered is a positive number, otherwise your program should display an error message and end. Test your algorithm with the following THREE sets of data:

Test case 1: package weight of 2 kg
Test case 2: package weight of 5 kg
Test case 3: package weight of 6 kg

Lab Grade Calendar (Devry)

You have been asked to design a program that will allow a teacher to calculate the percentage and the final grade for students in a class. The program will prompt the teacher to enter the student's first and last name and the number of points the student received. The program shall only accept scores between 0 and 1,000 points (including 0 and 1,000), with 1,000 points being the maximum number of points. If the input value is within the valid range, the program will display a "good score" message; otherwise, the program will display an error message and then terminate the program. The program shall then calculate the score percentage, and then determine the grade based on the percentage using the following grade criteria:

The program will then display the student's first name, last name, number of points, calculated percentage, and the final grade.

The program shall have an initial prompt informing the user of the program's purpose, and a program termination message.

Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing.

Reference no: EM131290590

Questions Cloud

Design an application that it will prompt a user : You will need to design an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed.
Well-defined codes of ethics : A number of professional public relations groups have very well-defined codes of ethics. What are these codes seeking to accomplish? What are some of the common characteristics of them?
What is meant by independent risk monitoring : Explain the advantages for senior management having detailed, written policies for financial risk management? Define and explain what is meant by independent risk monitoring. How can senior management improve independent risk monitoring?
Appropriate analytical method for information wheels : Choose the appropriate analytical method for information wheels. HR wants to optimize the company's future hiring process. Choose appropriate analytical methodologies for HR's information wheels.
Design an application that will receive the weight of parcel : You will need to design an application that will receive the weight of a parcel and calculate and display the cost per kg and the delivery charge for that parcel.
What is the purpose of risk management industry standards : What is the most important component of an effective risk management system? Briefly explain how speculative derivatives transactions are treated from an accounting perspective.
Public sector bargaining differs from private sector : Many labor relations experts believe there is a need to revise U.S. labor law. Do you agree andwhy is there pressure to update the law now? Name at least three (3) changes you would considermaking and why? Although there are many similarities betw..
Fnd the var for one day : Find the VAR for one year at a probability of 0.05. Identify and use the most appropriate method given the information you have.
Does the otr time appear to be stable : Does the OTR time appear to be stable? Why or why not?If you were to use a control chart to evaluate stability, which chart would you use? Why?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Suh wants to continue to manufacture the deployable

company overview suh incorporated suh is a light value added manufacturer in the emergency response management market

  Discuss various ergonomic guidelines with regard to text

Discuss the various ergonomic guidelines with regard to the manner in which text and graphics should be presented on a VDT (computer screen).

  In around 300 words describe how bibliofind might have used

bibliofind was one of the first web sites to specialize in hard-to-find and collectible books. the site featured a

  Lottery requires that you select six different numbers

A lottery needs that you select six different numbers from the integers 1 to 49. Write a Java program that will do this for you and generate five sets of six numbers as a result.

  Demonstrate an understanding of the given problem expressed

It should demonstrate an understanding of the problem expressed in the Good Apples Group case, and should present valid, accurate recommendations in each section.

  A palindrome consists of a word or deblanked

A palindrome consists of a word or deblanked, unpunctuated phrase that is spelled exactly the similar when the letters are reversed. Write a recursive function that returns a value of 1 if its string argument is a palindrome.

  What will be the list assumptions for the scope of project

What will be the list assumptions for the scope of project? Give detailed and measurable non functional requirements.

  Provide an example where a t-test would be useful in health

1. you have the following data.groupc0000011111intelligencec10090110120130 8590958090run a t-test for this data.

  Describe the tangible and intangible values

Locate a news article in an IT trade magazine about an organization that is implementing a new computer system. Describe the tangible and intangible values that the organization likely will realize from the new system.

  How many bits are needed for the pointer?

take a fixed partitioning scheme with equal-size partitions of 2^16 bytes and a total main memory size of 2^24 bytes. A process table is maintained that includes a pointer to a partition for each resident process.

  Computing the total tax

In following example, second line of the table signifies that tax due on a salary of $2,000.00 is $225.00 plus 16% of excess salary over $1,500.00 (that is, 16% of $500.00). Compute the total tax.

  Task 1go to httppricespyconz httpwwwbuildtoorderpccom or

task 1go to httppricespy.co.nz httpwww.buildtoorderpc.com or any another source that identifies the cost of computer

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