Design an algorithm determining the total purchases

Assignment Help Basic Computer Science
Reference no: EM13661782

You have been contracted by a local antique store to design an algorithm determining the total purchases and sales tax. According to the store owner, the user will need to see the subtotal, the sales tax amount, and the total purchase amount. A customer is purchasing four items from the antique store. Design an algorithm where the user will enter the price of each of the four items. The algorithm will determine the subtotal, the sales tax, and the total purchase amount. Assume the sales tax is 7%.
Be sure to think about the logic and design first (input-process-output (IPO) chart, flowchart, and pseudocode). Display all output using currency formatting.
Advanced (optional): Use a constant for the 7% sales tax.

Reference no: EM13661782

Questions Cloud

Estimate the magnitude of the resulting acceleration of bloc : A block is pushed up a frictionless incline by an applied horizontal force of 20 Newton. Find the magnitude of the resulting acceleration of the block
Find what average upward force did the water exert on him : A high diver of mass 56.9 kilogram jumps off a board 10.1 meter above the water. find what average upward force did the water exert on him
Uml conceptual view and process view : UML Conceptual View and Process View
Find what is the vehicles displacement : You are driving your vehicle, and the traffic light ahead turns red. You apply the brakes for 3.06 second, Find what is the vehicle's displacement
Design an algorithm determining the total purchases : Design an algorithm determining the total purchases
Find the work done by the tension in the cable : A cable lifts a 1110 kilogram elevator at a fix velocity for a distance of 39 meter. Find the work done by the tension in the cable
Obtain the period for the moon motion around the earth : The moon orbits the earth at a distance of 3.85 x 108 meter. Obtain the period for the moon motion around the earth
Calculate what would be the maximum speed : An 830 kilogram sports car can drive around an unbanked turn at a maximum speed of 58 m/s without slipping. Calculate what would be the maximum speed if no down force acted on the car
Obtain how fast will the electron be moving : An electron starts from rest 75.9 centimeter from a fixed point charge with Q = -0.263uC. Compute how fast will the electron be moving when it is very far away

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Create your own function that accepts one input parameter

Using Pseudocode, create your own function that accepts one input parameter and returns a float number. You decide the theme.

  Create another function that also accepts the array

Create another function that also accepts the array as its parameter. This functions prints all the elements in the array. Call this function from the main after the previous function call.

  What is data integrity and in what way it is implemented

What is data integrity and in what way it is implemented in DBMS MS Access

  Write a version of sum pairs i that sums each component

Using SML write a version of sumPairs that sums each component of the pairs separately, returning a pair consisting of the sumof the first components and the sum of the second components

  Importance of first designing a program using an algorithm

Programs must be very thoroughly designed before they are written. In this assignment, you will discuss the importance of first designing a program using an algorithm, pseudocode, and flowcharts before writing the actual code.

  An msp430-based system interfaces 4 external devices

An MSP430-based system interfaces 4 external devices (ED0, ED1, ED2, ED3), each capable of generating an interrupt request.

  Create an array of ten doubles

Java program that reads temperature data from the user and displays statistical data about those temperature. Create an array of ten doubles. How do you even start this? This is a basic java course.

  Create a pseudocode that reads in temperature input

Create a pseudocode that reads in temperature input. It should print "Freezing cold!" if the temperature is 32 degrees or below.

  Explain how engineers be assigned to maximize sales

A sales manager has 3 areas and 5 sales engineers. If assignment of sales engineers to areas will result in expected sales as shown, how must engineers be assigned to maximize sales?

  Allows the user to choose insurance options

Write an application that allows the user to choose insurance options in JcheckBoxes. Use a ButtonGroup to allow the user to select only one of two insurance types

  Describe in 200 to 300 words at least two different ways to

explain in 200 to 300 words at least two different ways to secure a wlan. what are the ramifications if a wlan is

  Contrast, and summarize the most common procurement documen

Define, compare, contrast, and summarize the most common procurement documents used in industry.

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