![]() |
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 |
Re: Need help with these
Read this and take particular note of what is said about homework questions.
|
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. |
Re: Need help with these
Okie... I'll post my premade code here... and please correct it ok?! :P
|
Re: Need help with these
Quote:
|
Re: Need help with these
Quote:
|
| 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