Display each of these amounts and the total

Assignment Help Basic Computer Science
Reference no: EM13208047

Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15 percent tip and 7 percent sales tax. Display each of these amounts and the total. Use flowchart symbols for your answer.

Reference no: EM13208047

Questions Cloud

Determine why arent teachers salaires higher : Suppose a new law establishes a minimum teacher salary that is 20 percent higher than the prevailing salary. How would you expect this law to affect the average quality of teachers and the taxes paid by the typical household
Estimate the cash outlays for charges : Estimate the amount of depreciation expense reported on Campbell's tax returns for each of the years 11,10, and 9. Use tax return of 34%
Explain quantum numbers that define an orbital : From the restrictions on the three quantum numbers that define an orbital, which set of three quantum numbers listed below is forbidden:
Cognitive theory-psychosocial theory-behaviorism : developmental theories and name their originators- Cognitive Theory, Psychosocial Theory, Behaviorism
Display each of these amounts and the total : Display each of these amounts and the total. Use flowchart symbols for your answer.
Show the effect of the tax on the equilibrium wage : You are an economic consultant to a city that just imposed a payroll tax of $1 per hour of work. This payroll tax is paid by workers through a payroll deduction: For each hour of work, the employer deducts $1 and sends the money to the city govern..
Explain what is the activation energy : The rate constant for a reaction is 1.6 x 10^-2 s^-1 at 680k and 4.6 x 10^-2 s^-1 at 890 K. What is the activation energy?
Write a pseudocode statement : Write a pseudocode statement that subtracts the variable downPayment from the variable total and assigns the result to the variable due. Don't use integer as decimal places will be needed.
Explain the experiment for measureing an ionization energy : Which of the following processes listed below represents the experiment for measureing an ionization energy?(E--> represents a nuetral element, "m"- represents a metal cation; and X represents a nonmental anion)

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Floating point format has an n-bit frac field

Suppose a floating point format has an n-bit frac field and a k bit exp field. What is the smallest integer that can be represented exactly? Assume that k is large enough not to provide any limitations on the problem. What is the integer for IEEE-754..

  How long will it take to reach steady-state value

Investigate the effect of the parameter b on y(t). To do this, plot y versus t for several values of b on the same plot. How long will it take for y(t) to reach 98 percent of its steady-state value?

  Give the coordinates of the ''outliers''

The threshold value you gave, and the maximum distance from the centroid to the farthest point in a cluster for all the clusters. It should also give the coordinates of the 'Outliers' in a separate output file. Outliers are those points that do no..

  How lseek call makes a seek to file

Where lseek call makes a seek to byte 3 of file. What does buffer comprise after the read has completed?

  What are different types of memory

What are some of the newer technology innovations you have seen in regards to I/O and Memory? What are the different types of Memory and how much is recommended?

  Shortest path between each pair of nodes using floyd''s metho

find the shortest path between each pair of nodes using Floyd's method

  Who are getting advantages from piracy robberies

Why are (were) pirates difficult to eliminate? What to you believe about pirates as moder-day Robin Hoods? Who are getting advantages from piracy robberies?

  Security and ethical concerns in web-based tool

How could you use a wiki to collaborate with fellow students to improve this course? What security and ethical concerns would you have to consider if you implemented this classroom wiki?

  Function whose job is to input

Write a function whose job is to input #'s, non-# to quit, recover from the input failure by calling recover(), and tell main some statistics about the numbers read. A. unsigned readA();

  Impact of meals on world-ecological and economic perspective

Write about the impact that two (2) of your meals have on our world from an ecological and economic perspective.

  What are the benefits of using tangible interfaces

What are the benefits of using tangible interfaces compared with other interfaces like GUI, pen-based or gesture?

  Draw dfsa for identifiers contain only letters and digits

Draw a DFSA for identifiers that contain only letters and digits, where the identifier must have at least one letter, but it need not be the first character. Hint: everything to the left of the leftmost letter must be a digit.

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