![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2008
Posts: 2
Rep Power: 0
![]() |
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... ^_^ ![]() |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,209
Rep Power: 5
![]() |
Re: Need help with these
Read this and take particular note of what is said about homework questions.
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Feb 2008
Posts: 2
Rep Power: 0
![]() |
Re: Need help with these
Okie... I'll post my premade code here... and please correct it ok?!
![]() |
|
|
|
|
|
#5 | |
|
Programmer
Join Date: Oct 2007
Posts: 39
Rep Power: 0
![]() |
Re: Need help with these
Quote:
![]()
__________________
Testing 001 010 011 100.... |
|
|
|
|
|
|
#6 |
|
Hobbyist Programmer
Join Date: Dec 2007
Location: Durban, South-Africa
Posts: 176
Rep Power: 1
![]() |
Re: Need help with these
__________________
The more the human race tries to change everything, when not needed, the less will they be able to change themselves when they need to. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|