Tuesday, April 7, 2015

41. Write a program to open a new file and read roll no,name ,address and phone numbers of students until the user says "no",after reading the data,write it to the file then display the contents of the file.


42. Define 'Nested Loop'. write a program to calculate and display the multipliction table using nested loop.[2068]


43. Write a program to find out factorial of any number.


44. Write a program to read salaries for 300 employees and count the number of employees getting salary from 10,000 to15,000.


45. Write a program to sort an array of "n" elements in descending order.


46. What is nested loop? Write a program to display the multiplication table of nth term of given numbers [2070 set C]


47. Write a program to enter"name", "roll-no" and "marks" of 10 students and stores them in a file.Read and display the same from the file.