Write a C++ program that reads the names of flowers and whether they are grown in shade or sun from an input file and prints the information to the user's screen. Input file: flowers.dat. Output...


Write a C++ program that reads the names of flowers and whether they are grown
in shade or sun from an input file and prints the information to the user's screen.
Input file: flowers.dat.
Output Format: Names of flowers and the words sun or shade.
flowers.dat
Astilbe
Shade
Marigold
Sun
Begonia
Sun
Primrose
Shade
Cosmos
Sun
Dahlia
Sun
Geranium
Sun
Foxglove
Shade
Trillium
Shade
Pansy
Sun
Petunia
Sun
Daisy
Sun
Aster
Sun



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here