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

Salem commented: You'll stay a beginner unless you actually try to DO YOUR OWN HOMEWORK -1

Recommended Answers

All 3 Replies

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

http://www.daniweb.com/techtalkforums/announcement8-2.html

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

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

http://www.daniweb.com/techtalkforums/announcement8-2.html

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.