Question: 18.(4pts) Given the following values for the Boolean variables w, x, y and z: w= false , x= true, y= true, z = false Clearly


18.(4pts) Given the following values for the Boolean variables w, x, y and z: w= false , x= true, y= true, z = false Clearly indicate whether each logical expression is true or false. 19.(4 pts) Place the following statements in the proper order for correctly using file stream variables in a program. Place the numbers 1 through 4 on the line provided with 1 being the first step. Include the header file fstream on the hard drive with a file stream variable u function. Declare an identifier to be an input file stream or output file stream variable Use the file stream variable in a statement to write to a file or read from a file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
