Posts

9. Program that uses a two dimensional array to initialize the scores of students, arranged in five rows with five students in each row. The program inputs the row number and student number in that row and then displays the scores of the student.

8. Program that inputs ten floating point numbers in an array. It displays the values which are greater than the average value of the array.

7. Program that uses three arrays Mango, Orange and Banana to store the numbers of fruits purchased by customer. The program finally displays the total bill of each customer according to the prices.

6. Program that inputs marks of ten students. The program displays the number of students in each grade.

5. program that inputs ten integers in an array. It displays the number of occurrences of each number in the array as follows: 3 is stored 4 times in the array. 1 is stored 1 times in the array.

4. program that inputs the names and monthly salaries of 10 employees. If annual salary is greater than or equal to Rs 2,50000/- then it prints name, salary and a message "Tax to be paid" else it prints name, salary and a message "No tax".

3. Program that consists of four arrays representing numbers, thier squares, their cubes and sums array stores the corresponding sums of three arrays each consisting of 10 elements.

2. Program that uses two arrays to store the roll # and marks of student. It inputs roll # and marks of five students, displays the roll # and marks of the student with highest marks.

1. Program that inputs ten integers in an array and counts all prime numbers entered by the user. The program finally displays total number of primes in array.