Question: Hello I need help on this assignment on cengage. I have already included all the flowers in my code but I'm not sure what else
Hello I need help on this assignment on cengage. I have already included all the flowers in my code but I'm not sure what else I'm missing. Plz help due today!

Opening Files and Performing File Input in C+ s course X Opening Files and Flowers.cpp flowers.dat + >_ Terminal + Performing File Input 10 int main( ) 11 Instructions Flowers. cpp: In function 'i 12 / / Declare variables here )' : 13 / / Open input file Flowers . cpp : 18:4: error: 1. Ensure the source code file named 14 not declared in this scope 15 fin > > flowerName; Flowers.cpp is open in the code 16 / / Write while loop that reads records from file. editor. 17 Flowers . cpp: 18:4: note: sug 18 fin > > flowerName; lternative: 'main' 2. Declare the variables you will need. 19 fin >> flowerName; ANN 3. Write the C++ statements that will 20 / / Print flower name using the following format main 21 / / cout > flowerName; 24 / /cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
