write a sub program to add name,post,salary for 'n' number of data to existing file "employee.dat.which already contains some record
ohh aap ho..koi baat nhi..aur batao kya kr rhe
Answers
Answer:
A sequential data file “std.dat” contains Name, class, Roll No. and Address of some students. Write a program to read records and display only those students record whose name starts with alphabet “A” of “a”.
2. Create a sequential data file “std.dat” to store Name and Mark obtained in English, Math and Science subjects for a few students.
3. A sequential data file called “MARKS.DAT” contains Roll no. Name, English,Nepali and Maths fields. Write a program to display all the contains of the data file.
4. Write a program to create a sequential data file “Employee.Dat” to store employees’ Name, Address, Age, Gender and Salary.
5. A data file “LIB.TXT” consists of Book’s name, Author’s name and price of books. Write a program to count and display the total number of records present in the file.
6. A sequential data file “EMP.DAT” contains name, post and salary fields of information about employees. Write a program to display all the information of employees along with tax amount also(tax is 25 of salary).
Answer:
Megha decided to donate a few tailored shirts on the Naiki ki deewar counter of a Colony.she bought 10 m.of cloth from the market. Har Taylor suggested that she can make 1 shirt in 2.5m of cloth. how many shirt do you think she will be able to make? what value do you learn from Megha?