Answer:
dataFile << salary;
Explanation:
To write salary to a file (payroll.dat) using ofstream, you make use of the following instruction:
<em>ofstream dataFile;
</em>
<em>myfile.open ("payroll.dat");
</em>
<em>myfile <<salary;
</em>
<em>myfile.close();</em>
<em />
This line creates an instance of ofstream
<em>ofstream dataFile;
</em>
This line opens the file payroll.dat
<em>myfile.open ("payroll.dat");
</em>
This is where the exact instruction in the question is done. This writes the value of salary to payroll.dat
<em>myfile <<salary;
</em>
This closes the opened file
<em>myfile.close();</em>
<em />
<em />
Microsoft certification is a series of programs that provide certification of competence in Microsoft products.
Answer:
c. Cloud computing
Explanation:
Cloud computing -
It refers to the on - time need of the computer resource , in order to store data , computing power by the user , is referred to as cloud computing.
It refers to the availability of the data centers to the user .
This method enables the sharing of resources .
Hence, from the information of the question,
The correct option is c. Cloud computing .
Answer: You need a temporary variable to hold the value 3
Explanation:
So, aList[0] is 3 and aList[1] is 19, if it will be as it is you litteraly say to the compiler to change aList[0] to aList[1] at this moment aList[0] is 19 and aList[1] also is 19 and if you try to change aList[1] to aList[0] it will not change its value because they are the same.
You need temp variable to keep one of the values.
Answer:
A. simple to construct and easy to repair
Explanation:
A dynamic microphone works on the principle of electromagnetic principle. A diaphragm is attached to a coil of wire which helps in producing sound. Responding to the sound waves, the coil of the wire is vibrated by the diaphragm. A magnetic field is created by the magnet which is present inside the coil of wire. The electrical signal is generated in response to the motion of the coil. The speed of the motion produces the amount of the current.
Since the construction of a dynamic microphone is easier as compared to any other microphone, John is likely to opt to build one.