Page 559 - ComputerScience_Class_11
P. 559

Press 4 for modifying a file
                 Press 5 for reading a file
                 Press 6 to exit
                 Please enter your choice : 3
                 This is end of File
                 File SUCCESSFULLY renamed
                 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 : 4
                 This is end of File
                 File Modified SUCCESSFULLY
                 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
                 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 NAME        DATATYPE                                  DESCRIPTION
                 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




                                                                                                   Sample Projects  557
   554   555   556   557   558   559   560   561   562   563   564