Page 565 - Cs_withBlue_J_C11_Flipbook
P. 565

165                  }
                  166              }

                  167              while(ch!=6);
                  168          }

                  169      }
                 Output
                 Main Menu
                 Press 1 for creating a file
                 Press 2 for appending a file
                 Press 3 for deleting data from a file
                 Press 4 for modifying a file
                 Press 5 for reading a file
                 Press 6 to exit
                 Please enter your choice : 1
                 Input the Name of the Employee : RAM
                 Input the Pan Number : ABC123
                 Input the TaxableIncome : 245678
                 Do you wish to input more data?(y/n)
                 y
                 Input the Name of the Employee : SHYAM
                 Input the Pan Number : WEDS345
                 Input the TaxableIncome : 12345
                 Do you wish to input more data?(y/n)
                 n
                 Main Menu
                 Press 1 for creating a file
                 Press 2 for appending a file
                 Press 3 for deleting data from a file
                 Press 4 for modifying a file
                 Press 5 for reading a file
                 Press 6 to exit
                 Please enter your choice : 5
                 SALARY DETAILS
                 --------------
                 Name : RAM
                 Pan Number : ABC123
                 TaxIncome : 245678.0
                 SALARY DETAILS
                 --------------
                 Name : SHYAM
                 Pan Number : WEDS345
                 TaxIncome : 12345.0
                 This is end of File
                 Main Menu
                 Press 1 for creating a file
                 Press 2 for appending a file
                 Press 3 for deleting data from a file
                 Press 4 for modifying a file
                 Press 5 for reading a file



                                                                                                                       563
                                                                                                      Sample Projects  563
   560   561   562   563   564   565   566   567   568   569   570