Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 29th, 2008, 5:57 AM   #1
erix015
Newbie
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0 erix015 is on a distinguished road
Smile 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... ^_^
erix015 is offline   Reply With Quote
Old Feb 29th, 2008, 7:48 AM   #2
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5 grumpy will become famous soon enough
Re: Need help with these

Read this and take particular note of what is said about homework questions.
grumpy is offline   Reply With Quote
Old Feb 29th, 2008, 9:41 AM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
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.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Feb 29th, 2008, 6:50 PM   #4
erix015
Newbie
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0 erix015 is on a distinguished road
Re: Need help with these

Okie... I'll post my premade code here... and please correct it ok?!
erix015 is offline   Reply With Quote
Old Mar 4th, 2008, 10:31 PM   #5
WaltP
Programmer
 
Join Date: Oct 2007
Posts: 39
Rep Power: 0 WaltP is on a distinguished road
Re: Need help with these

Quote:
Originally Posted by erix015 View Post
Okie... I'll post my premade code here... and please correct it ok?!
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...
__________________
Testing 001 010 011 100....
WaltP is offline   Reply With Quote
Old Mar 5th, 2008, 1:36 AM   #6
BstrucT
Hobbyist Programmer
 
BstrucT's Avatar
 
Join Date: Dec 2007
Location: Durban, South-Africa
Posts: 198
Rep Power: 1 BstrucT is on a distinguished road
Re: Need help with these

Quote:
Originally Posted by WaltP View Post
Sounds like a good plan...
hehehe
__________________
Be kinder than necessary because everyone you meet is fighting some kind of battle.
BstrucT is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:05 PM.

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