Question: plz tell me the errors in code and explain them. Question 2 - CLO-2 Total Marks = 25 A) Write a person class with two

plz tell me the errors in code and explain them.
plz tell me the errors in code and explain them. Question 2

Question 2 - CLO-2 Total Marks = 25 A) Write a person class with two variables, name and age. In your main function, create 2 objects of person type and initialise them. 1. Using file handling concepts, write these objects into a file called mypersons.txt. (5 marks) ii. Open the file created in the previous part. Read two persons into your program from the mypersons.txt file and display them onto a screen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!