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
This is a graded practice activity. This is not an actual quiz.
Lerok [7]

Answer:

0

Explanation:

x=27

y=5

22+(27-5)

22+(22)

0

8 0
1 year ago
La sentencia de ASIGNAR es una sentencia de entrada de datos, verdadero o falso ?
Akimi4 [234]

Answer:

sorry can´t understand langues

Explanation:

cant

7 0
3 years ago
Aurelia is designing a user interface for a new game app. Which of the following should she taken into consideration for the use
serious [3.7K]

Answer:

C

Explanation:

what types of loop will be used.

4 0
2 years ago
________ are the primary means of authentication for a user's computer and other networks and servers to which the user may have
inn [45]

Answer:

The answer to this question is "Password".

Explanation:

In computer science, any User's computer and networks and server is secured with the password to access all we use the password. for example, if we want to access any WiFi system or any User's computer. Then we will insert the password. If the password is wrong so we can't access the WiFi system or User's computer. similarly, If we want to access any server so we must know about the password. Then we use the server and change it's setting.

So the password is the primary means of authentication for all User's.  

4 0
3 years ago
You are working on a project and need to be able to access the content from home and share the files with other team members. Th
inn [45]
Local server so you can all you use if you guys are near
5 0
3 years ago
Read 2 more answers
Other questions:
  • Which css property configures the capitalization of text?
    12·1 answer
  • Few people will care if you use their image in a photograph without obtaining their consent. True False
    10·1 answer
  • Define a romanNumberToInt function that converts a RomanNumber value, which is a list of Roman digits, into an integer. Hints: -
    7·1 answer
  • 4-Translate the following C program to MIPS assembly program (Please explain each instruction in your code by a comment and subm
    6·1 answer
  • Imagine a network with two routers that are connected with a point-to-point HDLC serial link. Each router has an Ethernet, with
    9·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    11·2 answers
  • Which phrase best describes a scenario in Excel 2016?
    5·2 answers
  • Write 3 things that can't be done without technology.
    14·2 answers
  • With which type of test question should you leave yourself extra time to answer?
    14·2 answers
  • Please help this is a coding assignment I need help! (use python)
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!