Question: I need help with this lab cant get more the 7 5 % because it cant find fin.open ( ) in program and my instructor
I need help with this lab cant get more the because it cant find fin.open in program and my instructor said this
Hope this helps.
Declare variables here
string flowerName, growing condition; Incorrect
Missing string and namecondition cannot be in the same string!
ifstream fin;
Look at line of the directions below as sun or shade is a key to the proper string.
Write the C statements that will open the input file flowers.dat for reading.
Write a while loop to read the input until EOF is reached.
In the body of the loop, print the name of each flower and where it can be grown sun or shade
Save this source code file in a directory of your choice, and then make that directory your working directory.
Compile the source code file Flowers.cpp
Execute the program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
