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.
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

You'll stay a beginner unless you actually try to DO YOUR OWN HOMEWORK
3
Contributors
3
Replies
4
Views
11 Years
Discussion Span
Last Post by ankush.sheetal

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

Ah, so we'll do all the hard work because you are a beginner. Sorry.

We'd be happy to help you, but first you have to show us how far you've gotten.

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.
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.

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

Ah, so we'll do all the hard work because you are a beginner. Sorry.

We'd be happy to help you, but first you have to show us how far you've gotten.

Hi
i know wht the program can be written as just need help how to get thru putting the menu

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.