Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C (http://www.programmingforums.org/forum60.html)
-   -   Need help with these (http://www.programmingforums.org/showthread.php?t=15287)

erix015 Feb 29th, 2008 5:57 AM

Need help with these
 
1. The first screen of your program should display the menu, where the user will select the operation he/she wanted to execute.
2. The second screen will input the number of elements in the array and the element itself. The number of elements in a one-dimensional array should range from 5(minimum) to 20 (maximum). In a two-dimensional array, it should have at least 2 rows and 2 columns and a maximum of 5 rows and 5 columns.

Set A:
1. Create a program that will sort the integer elements in ASCENDING order. Display the sorted the elements.
2. Create a program that will get the sum of even indexed elements and the sum of odd indexed elements.
3. Create an m x n array that will find the sum of diagonal elements

^_^ Thanks in Advance... ^_^ :P

grumpy Feb 29th, 2008 7:48 AM

Re: Need help with these
 
Read this and take particular note of what is said about homework questions.

Infinite Recursion Feb 29th, 2008 9:41 AM

Re: Need help with these
 
Welcome to the forum erix015.

It would be in your best interest if you actually attempted to do your own homework first. Then post code showing your effort, with particular questions as to the problems you encounter. Having someone give you the answer will be a great disservice to you as you will not learn anything. Give it a shot yourself, and post back when you encounter problems. When/If you do graduate, you're co-workers will not do your work for you and you will have a hard time maintaining employment if you think so.

erix015 Feb 29th, 2008 6:50 PM

Re: Need help with these
 
Okie... I'll post my premade code here... and please correct it ok?! :P

WaltP Mar 4th, 2008 10:31 PM

Re: Need help with these
 
Quote:

Originally Posted by erix015 (Post 141784)
Okie... I'll post my premade code here... and please correct it ok?! :P

Do you mean you'll post code that was given to you, and you want us to change it so it works? Then you can hand it in for your grade? Sounds like a good plan... :-/

BstrucT Mar 5th, 2008 1:36 AM

Re: Need help with these
 
Quote:

Originally Posted by WaltP (Post 142020)
Sounds like a good plan... :-/

hehehe


All times are GMT -5. The time now is 4:06 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC