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".

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter14: Files And Streams
Section: Chapter Questions
Problem 3E
icon
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.
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
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
File Input and Output Operations
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning