Wednesday, 21 November 2012
Write a script that behaves both in interactive and non-interactive mode. When no arguments are supplied, it picks up each C program from current directory and lists the first 10 lines. It then prompts for deletion of the file. If the user supplies arguments with the script, then it works on those files only
Tuesday, 20 November 2012
Write a Script for Simple Database Management System Operation.
Database File Contains Following Fields.
EMP_NO
EMP_NAME
EMP_ADDRESS
EMP_AGE
EMP_GENDER
EMP_DESIGNATION
EMP_BASIC_SALARY
Provide Menu Driven Facility For
VIEW RECORD BASED ON QUERY
ADD RECORD
DELETE RECORD
MODIFY RECORD.
COUNT TOTAL NUMBER OF RECORDS
EXIT
Sample Data file
1|mrs. selina|ahmedabad|30|female|manager|20000
2|mr. jones|rajkot|32|male|production manager|50000
Sunday, 18 November 2012
Accept the string and checks whether the string is palindrome or not
Another way to do the same thing
Subscribe to:
Posts (Atom)