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
r-ruslan [8.4K]
3 years ago
12

Write a cout statement so the variable sales is displayed with a precision of three decimal places, with the decimal point alway

s displayed.
Computers and Technology
1 answer:
Lilit [14]3 years ago
5 0

Answer:

The statement is as follows:

cout <<fixed<< setprecision(3) <<sales;

Explanation:

Here, I assume that the variable has already been declared.

The syntax to use is:

cout<<fixed<<setprecision(n)<<variable-name;

In this case:

n = 3 --- i.e. to 3 decimal places

And the variable name is: sales

So, when implemented, the instruction is:

cout <<fixed<< setprecision(3) <<sales;

You might be interested in
You '' friend or ''like'' a page o your favorite social media page that advertises a
Naddik [55]

Answer:

The correct answer for the given question is " yes".

Explanation:

In the above question the correct answer is yes because, in any social media site. If we like any web page.it will shows the name of person that like the web  pages .

For example: if we login in any social side  we will see various images,video and story etc.if any  user like all.  it will show the person name that is liked by them.

So the correct answer for this question is yes.

5 0
3 years ago
What does it mean when your check engine light comes on?
Ludmilka [50]
This website has an article about the on-board diagnostics system (OBD system) which turns on the Check Engine light in a motorized vehicle: https://motorist.org/articles/check-engine-light

Hope it helps you!
5 0
3 years ago
Web storage stores data in the browser in
Andrew [12]

Answer:

session.

Explanation:

Web storage stores data in the browser in sessions.There are two types of web storage APIs available local storage and session storage.Both of these storages are used to store data on client side.While session stores data in key/value pairs which consists of strings.The maximum Limit of data storage is about 5MB.

6 0
3 years ago
Which are the best examples of costs that should be considered when creating a project budget?
Vlada [557]

Answer:

I would say material costs and hiring costs, idk if that helps or not

4 0
3 years ago
When individuals are purchasing a computer, they sometimes might get the most expensive computer they can afford. Why might this
timama [110]

Answer:

Expensive is not always better

Explanation:

So I build 2 computers ok

Computer 1: Price 1,999$

<u>Whats Included:</u>

  • Antivirus
  • Anti-Over-Heat
  • Windows 8 Operating Software
  • Free VPN (For Life)
  • 24/7 Support
  • 1 year warranty
  • 3/5 Star Reviews | Main Review Type: Parts Breaking Inside

Computer 2: Price 799$

<u>Whats Included:</u>

  • Anti Virus
  • Anti Over-Heat
  • 1 Year Warranty
  • Windows 10 Operating Software
  • 24/7 Support
  • 10 Year Warranty
  • 4/5 Star Reviews | Main Review Type: Runs Smooth
  • No VPN

<h2>So Computer 2 Has better reviews and a 10 year warranty over computer 1's 1 year warranty</h2>
8 0
2 years ago
Other questions:
  • Mike wants to build an amplifier. Which technology can he use?
    15·1 answer
  • 8. A pattern of being late for work or for appointments is usually
    12·1 answer
  • PLEASE VERY IMPORTANT Conduct research on graphic design skills in your area and explore the different courses that they offer l
    12·1 answer
  • Short notes on Supply chain Management System (SCMS)
    12·1 answer
  • Complete each sentence
    10·1 answer
  • In what ways is the human brain like a computer? In what ways is it different?
    14·2 answers
  • Question 1 (1 point)
    9·1 answer
  • Sigma Technology is a company based in Singapore, with branches in 24 countries. It needs multiple CAs in different locations to
    6·1 answer
  • What are some legal issues that can arise from the use of social media?
    10·1 answer
  • for a given array of integers perform operations on the array return the resulting array after all operations have been applied
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!