0
Write a program to create a file with name as âFileName_RollNumber.datâ.
The user need to give the FileName from screen, however the generated file name should contain your Roll Number too. The file should have following text for example: # FILE NAME: NewFile_UG101010.dat Name: Hari Singh Age: 21 Class: ECE Batch: 2018 The following file should be closed and copied to a new file named, RollNumber_FileName.txt. The information displayed should be as below. # FILE NAME: UG101010_NewFile.txt Name: Hari Singh Age: 21 Class: ECE Batch: 2018
1 Answer
+ 2
Siddharth Ambedkar It seems your question appears to be an assignment. Please show us your attempt and use the 8 rules to get help from the community.
https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community
*can be a code coach solution which is meant for you to do to help you establish your skills abilities and where you need to learn... not the community
*one issued by a school or other institution
*one issued or created by another platform
*one that appears to be in the form of a challenge that was created by you or somewhere else.
Your question will be reviewed by a team of moderators and will most likely be marked for deletion.
https://www.sololearn.com/Discuss/1316935/?ref=app