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
saul85 [17]
3 years ago
8

Given the availability of an ofstream object named output, write the other statements necessary to write the string "3.14159" in

to a file called pi. (Do not define a main function.)
Computers and Technology
1 answer:
mixas84 [53]3 years ago
4 0

Answer:

The statements are given below:

output.open("pi"); // opening the file by the of stream object

output << "3.14159";  

output.close(); // closing the file  

Explanation:

In this we open the file with the help of output stream object .The statement output.open("pi"); is opening the file after after opening the file "pi". The output object print the 3.14159 message in console and finally the output stream file is close with the help of output.close() statements .

You might be interested in
Describe all the main stress causal agents​
LekaFEV [45]

Answer:

Causes of Stress

Being unhappy in your job.

Having a heavy workload or too much responsibility.

Working long hours.

Having poor management, unclear expectations of your work, or no say in the decision-making process.

Working under dangerous conditions.

Being insecure about your chance for advancement or risk of termination.

5 0
3 years ago
The following sentence has a mistake.
Alja [10]

Answer:

You would put the cursor after the letter v in vermont and press back space and type a capital V to make it Vermont.

6 0
3 years ago
What is the name and purpose of the star next to a slide in a PowerPoint presentation?
Finger [1]
If you observe closely, you may see that these stars are shown only against some slides and not all of them.

The stars are just an indication that the particular slide has custom animation. That was you can quickly see at a glance if a slide has content that is animated.

The same star symbol is also shown when the slide itself has any slide transition set.
7 0
3 years ago
Can we change our profile name on here and how
TiliK225 [7]
Only by making a new account
4 0
3 years ago
Read 2 more answers
Which of the following correctly describes a work in the public domain?
Anarel [89]

Answer:

B

Explanation:

I took the test got a 100

8 0
3 years ago
Other questions:
  • "Simon Says" is a memory game where "Simon" outputs a sequence of 10 characters (R, G, B, Y) and the user must repeat the sequen
    12·1 answer
  • What is the purpose of an arraignment?
    9·2 answers
  • A ________ algorithm is a method of locating a specific item of information in a larger collection of data.
    8·1 answer
  • Reading for comprehension requires _____ reading?
    7·1 answer
  • Write any four difference between email and effects​
    14·1 answer
  • Describe five examples of civil engineering projects.
    6·1 answer
  • Implement the function printTwoLargest that inputs an arbitrary number of positive numbers from the user. The input of numbers s
    14·1 answer
  • I love the brainly update guys! :)
    5·2 answers
  • Consider the following declaration:
    9·1 answer
  • What is meant by editing a document​
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!