To perform the write operation with in a file.
STEP 1: Start the program.
STEP 2: Declare the variables.
STEP 3: Read the file name.
STEP 4: open the file to write the contents.
STEP 5: writing the file contents up to reach a particular condition.
STEP 6: Stop the program.
Enter File name: one.txt
Enter contents to store in file (enter # at end)
Master of Computer Applications#
C++ Programs >