subject
Computers and Technology, 18.07.2020 17:01 mccdp55

If dataFile is an ofstream object associated with a disk file named payRates. dat, which of the following statements would write the value of the hourlyPay variable to the file? A) ifStream << hourlyPay;

B) ifStream >> hourlyPay;

C) dataFile << hourlyPay;

D) dataFile >> hourlyPay;

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 13:30, jhitotw
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
image
Computers and Technology, 23.06.2019 17:20, Morehollie9428
What is the best assassins creed game?
Answers: 2
image
Computers and Technology, 24.06.2019 00:40, iamsecond235p318rq
To maintain clarity and focus lighting might be needed
Answers: 2
image
Computers and Technology, 24.06.2019 04:10, kris1920
Write a program that reads a set of floating-point values. ask the user to enter the values, then print • the average of the values. • the smallest of the values. • the largest of the values. • the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
You know the right answer?
If dataFile is an ofstream object associated with a disk file named payRates. dat, which of the foll...

Questions in other subjects: