Modify the code to query the user to enter the following information: a. Name b. Street # and Street c. City d. State e. Zip Code After the data is read in from the user, have the program create a file, "StudentInfo.txt", then write the data read in from the user to the file, "StudentInfo.txt".
Modify the code to query the user to enter the following information: a. Name b. Street # and Street c. City d. State e. Zip Code After the data is read in from the user, have the program create a file, "StudentInfo.txt", then write the data read in from the user to the file, "StudentInfo.txt".
Chapter14: Files And Streams
Section: Chapter Questions
Problem 4E
Related questions
Question
Can you write the code in C++ please?
![1. Using Microsoft Visual Studio, create a solution entitled, "Lab 01 - Files and Folders".
2. Type in the code from the provided "Lab 01 - Files and Folders" file.
3. Modify the code to query the user to enter the following information:
a. Name
b. Street # and Street
c. City
d. State
e. Zip Code
4. After the data is read in from the user, have the program create a file, "StudentInfo.txt", then write
the data read in from the user to the file, "StudentInfo.txt".
a. Using notepad, ensure that the file "StudentInfo.txt" was created and that it contains the
appropriate data read in from the user.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ff6948d5d-782c-4f32-af22-abf47b4c3397%2Fdbbb050f-0296-4f5e-9d1f-63a86109de3e%2Fo6c40t_processed.png&w=3840&q=75)
Transcribed Image Text:1. Using Microsoft Visual Studio, create a solution entitled, "Lab 01 - Files and Folders".
2. Type in the code from the provided "Lab 01 - Files and Folders" file.
3. Modify the code to query the user to enter the following information:
a. Name
b. Street # and Street
c. City
d. State
e. Zip Code
4. After the data is read in from the user, have the program create a file, "StudentInfo.txt", then write
the data read in from the user to the file, "StudentInfo.txt".
a. Using notepad, ensure that the file "StudentInfo.txt" was created and that it contains the
appropriate data read in from the user.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage