Page 567 - Cs_withBlue_J_C11_Flipbook
P. 567

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
                 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
                 Press 6 to exit
                 Please enter your choice : 6
                 Thank You
                                                            Variable Description
                  VARIABLE     DATATYPE                                    DESCRIPTION
                    NAME
                 name        String        To store name of employee
                 pan         String        To store pan number
                 choice      String        To enter choice

                 ch          Int           For switch case
                 taxIncome   Double        To store taxable income
                 nam         String        To store name in uppercase
                 eof         Boolean       To store true and false

                 Rename      Boolean       Stores the Boolean value if f2 is renamed to f1






























                                                                                                                       565
                                                                                                      Sample Projects  565
   562   563   564   565   566   567   568   569   570   571   572