I want to solution for following question b'case i am begineer

1 Following is the menu to be displayed to the user. On selecting a choice display appropriate result. Number should be accepted from the user.
Menu
1. Prime Factors
2. Leap Year
3. Sum of all digits
4. Number in reverse order


2 Perform the following operations on integer array of 10 elements. Accept the values from user.
1. Sort an array in ascending order.
2. Display sum of all odd values stored in an array.
3. Display number of even values stored in an array.

3 Write a program for the following
1. A file name is command line argument. Display the contents of the file where each word will be displayed on a new line. Display proper message if file does not exist.
2. Display no. of ovals stored in the file.
3. Display no. of “the” stored in the file.
4. Copy contents of the file to another file.


Bhatt

Comments
You'll stay a beginner unless you actually try to DO YOUR OWN HOMEWORK

I want to solution for following question b'case i am begineer

1 Following is the menu to be displayed to the user. On selecting a choice display appropriate result. Number should be accepted from the user.
Menu
1. Prime Factors
2. Leap Year
3. Sum of all digits
4. Number in reverse order


2 Perform the following operations on integer array of 10 elements. Accept the values from user.
1. Sort an array in ascending order.
2. Display sum of all odd values stored in an array.
3. Display number of even values stored in an array.

3 Write a program for the following
1. A file name is command line argument. Display the contents of the file where each word will be displayed on a new line. Display proper message if file does not exist.
2. Display no. of ovals stored in the file.
3. Display no. of “the” stored in the file.
4. Copy contents of the file to another file.

This article has been dead for over six months. Start a new discussion instead.