1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
maxonik [38]
3 years ago
11

A retail company must file a monthly sales tax report listing the total sales for the month and the amount of state and county s

ales tax collected. The state sales tax rate is 4 percent and the county sales tax rate is 2 percent. Write a program that asks the user to enter the total sales for the month. The application should calculate and display the following: • The amount of county sales tax • The amount of state sales tax • The total sales tax (county plus state)
Computers and Technology
1 answer:
TiliK225 [7]3 years ago
4 0

Answer:

Explanation:

#include <iostream>

#include <iomanip>  

using namespace std;  

int main()

{

const double total = 32905.65;

double salesTax = total*(.04);

double countyTax = total*(.02);

double productSales =total-salesTax-countyTax;

double totalTax = salesTax+countyTax;

cout << "Month: September" <<endl;

cout << "Year: 2008" << endl;

cout << "-----------" << endl;

cout << "Total collected: $" <<fixed << setprecision(2) << total << endl;

cout << "Product Sales: $" << fixed<< setprecision(2) << productSales <<endl;

cout << "County Sales Tax: $" <<fixed << setprecision(2) << countyTax <<endl;

cout << "State Sales Tax: $" <<fixed << setprecision(2) << salesTax << endl;

cout << "Total Sales Tax: $" <<fixed << setprecision(2) << totalTax << endl;  

system("pause");

return 0;

}

You might be interested in
How to get off of supervised user
Serhud [2]

Answer:

On the Chromebook sign-in screen, select the profile you want to remove. Next to the profile name, select the Down arrow . Select Remove this user.

hope this helps

have a good day :)

Explanation:

4 0
3 years ago
1 point
stealth61 [152]

Answer:

adwawdasdw

Explanation:

4 0
3 years ago
Read 2 more answers
Jesse is writing a physics quiz about the motion of a roller coaster cart. He has a clip art illustration of a cart rolling hori
NISA [10]
<span>1.editing the image file in a dedicated photo editing program before inserting it
Hope this reaches you before net neutrality sets in</span>
4 0
3 years ago
Read 2 more answers
You are given a string of n characters s[1 : : : n], which you believe to be a corrupted text document in which all punctuation
alexdok [17]

Answer: provided in the explanation section

Explanation:

Given that:

Assume D(k) =║ true it is [1 : : : k] is valid sequence  words or false otherwise

  • To determine D(n)

now the sub problem s[1 : : : k] is a valid sequence of words IFF s[1 : : : 1] is a valid sequence of words and s[ 1 + 1 : : : k] is valid word.

So, from here we have that D(k) is given by the following recorance relation:

D(k) = ║ false maximum (d[l]∧DICT(s[1 + 1 : : : k]) otherwise

Algorithm:

Valid sentence (s,k)

D [1 : : : k]             ∦ array of boolean variable.

for a ← 1 to m

do ;

d(0) ← false

for b ← 0 to a - j

for b ← 0 to a - j

do;

if D[b] ∧ DICT s([b + 1 : : : a])

d (a) ← True

(b). Algorithm Output

      if D[k] = = True

stack = temp stack           ∦stack is used to print the strings in order

c = k

while C > 0

stack push (s [w(c)] : : : C] // w(p) is the position in s[1 : : : k] of the valid world at // position c

P = W (p) - 1

output stack

= 0 =

cheers i hope this helps !!!

8 0
3 years ago
Any fact or set of facts, such as the words in a letter to a friend or the notes in a song, can become computer ____.
Alina [70]

I think the answer is... data

3 0
3 years ago
Other questions:
  • What does FTP stand for?
    15·2 answers
  • To create a digital file from an old photo, I would use a _____.
    10·1 answer
  • What Is the output of the following: =OR (5 &lt;7, 16*Rand ()&gt;23,FALSE)
    5·1 answer
  • Can someone tell me how to get all A's with no effort?
    5·1 answer
  • a one-two paragraph summary on the Running Queries and Reports tutorials. Apply critical thinking and an academic writing style
    6·1 answer
  • What was the process called that required the photographer to have a tent or darkroom handy so that chemicals could be mixed qui
    7·1 answer
  • A selected graphic appears surrounded by a(n) ______, which has small squares and circles around its edges.
    7·1 answer
  • ---------------------- use of the Internet to access programs and data on computers that are not owned and managed by the user o
    9·1 answer
  • Which of these is an example of input?
    6·1 answer
  • 100 points for this and brainlyist lol
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!