Answered step by step
Verified Expert Solution
Question
1 Approved Answer
solve this 3 task they are related to each other in c++ Enrollment Number *Provide solution of each task and screenshot of output at the
solve this 3 task they are related to each other in c++
Enrollment Number *Provide solution of each task and screenshot of output at the end of that task Task 1 Write a C++program that perfrom following tasks Create a function Student that prompt user to a student record. Student contains following details. o ID, Full Name, Email, Department and Phone Number Store the input in file student.txt In main program call function Studento Program should prompt user that you want to enter a new record. If'Y" ask user for new details. If N", program should terminate. (Use event controlled loop) #Sample Output Enter new record Full Name: Sarmad Soomro ID: 11734 Email: sarmad.soomro@bimcs.edu.pk Department: Computer Science Phone Number: 090078601 Do you want to enter new record(YN)? Solution and output of Task I> Task 2 Use task 1 and Store data in file student.txt with proper formatting as follows: (Use Manipulator Functions File Edit Format View Help Saread Socero 11743 sarmad.sooero@biecs.edu.pk Majid I1e sin Rizv Conputer Science Managment Sciences Computer Science 098878681 98878681 98878601 11683 ldeincs.edu.pk 1170 asin.rizvigbiecs.edu-pk Solution and output of Task 2 > Task 3 Refere to you exercise 1 and 2 Read the data from file student.txt (line by line) and print on you computer screen as follows mple Output tudent Records Saved 11743 sarnad.soonrobincs.edu-pk Corpater Science 090078601 Managnen 3ciences 090078601 Cospater Soence 090078601 11603 idabias edu, p Solution and output of Task 3 > Page 3 of 3Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started