Calculate the sum of negative elements of specified column, Programming Languages

Write a program that will generate 25 DWORD values in the range from +/-50 representing a two dimensional array of size 5 x 5. It should then display the array as a table (5 x 5) by calling a procedure and then display the following menu:

1. Calculate the sum of the positive elements of each row.

2. Calculate the sum of the negative elements of a specified column.

3. Calculate the sum of all of the elements of the array.

4. Count the negative numbers in the array.

5. Calculate the sum of the diagonal elements of the array.

6. Quit

For each of these tasks:

i) Organize the tasks into procedures

ii) Pass parameters to the procedure(s) using the stack

iii) Do not use any global variables - create local variables in the stack if necessary

iv) Display the appropriate message and result after each procedure is complete

v) Call a procedure to display the array as a table and redisplay the menu after each task is completed and reported.

vi) Access the data as elements of a two dimensional array (5 x 5).

Posted Date: 3/20/2013 3:28:25 AM | Location : United States







Related Discussions:- Calculate the sum of negative elements of specified column, Assignment Help, Ask Question on Calculate the sum of negative elements of specified column, Get Answer, Expert's Help, Calculate the sum of negative elements of specified column Discussions

Write discussion on Calculate the sum of negative elements of specified column
Your posts are moderated
Related Questions

Support for Multi-Targeting The multi-targeting function of Vision Facilities allows you specify the particular edition or account of the .NET Structure that is required for your p

Expertsmind brings you unique solution in java assignments Exception Handling An exception is an issue that appears during the performance of an application. An exception

Assignment is to create hijara game on any plate form, you can use any plate form you like or easy to you. For instance let's say you can use visual studio, game studio (Prefer to

Write a program to use a robot to move the stack of blocks from a source location to a target location, based. Movement of robot arms, picking and dropping, can be controlled usi

Expertsmind brings you unique solution in java assignments Swing Move is the primary Java GUI gadget tool set. It is part of Oracle's Java Groundwork Sessions (JFC) - an A

these 8 numbers (15, 20, 25, 30, 35, 40, 45, and 50) with using conditional jump

the details on the two pictures on the link below : http://rak-up.com/up/files/18637.jpg ">http://rak-up.com/up/files/18636.jpg http://rak-up.com/up/files/18637.jpg

I am working on a game project using C# XNA. I only have two weeks from the deadline. Would you help me to finish it up? Please let me know as soon as possible. Thanks, Sophi

Architecture and Components The .NET Framework 3.5 The .NET Structure (pronounced dot net) is an application framework that works generally on Enthusiasm Microsoft windows. It has