Calculate the sum of the positive elements of each row

Assignment Help Software Engineering
Reference no: EM13328121

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).

Reference no: EM13328121

Questions Cloud

Explain a stronger acid from greatest to least : Which of these is a stronger acid from greatest to least. I know that CH3COOH, HF, and H3PO4 are weak acids and HI and H2So4 are strong acids.
Multiculturalism and diversity why or why not : Do you think that it is ever justifiable to treat people differently on the basis of their race or sex or religion or other group characteristic? Explain. Should we further multiculturalism and diversity? Why or why not?
Define air approximately equal to the sum of the k(h) values : The solubility of air in water is approximately 2.1 x 10^-3 M at 20 degrees C and 1.0 atm. Calculate the Henry's lay constant for air. Also, is the K(H) value of air approximately equal to the sum of the K(H) values of N2 and O2 because these two ..
Calculate the maximum speed of the block : A 3.00-kg block is connected to two ideal horizontal springs having force constants k1 = 28.0N/cm and k2= 19.0N/cm What is the maximum speed of the block
Calculate the sum of the positive elements of each row : Call a procedure to display the array as a table and redisplay the menu after each task is completed and reported.
Discuss implications of global and international strategies : Discuss the implications of global and international regional strategies for different departments and functions. For example, finance & budgeting; human resources; legal counsel; operations & production
Explain the net ionic equation for the reaction : Write the net ionic equation for the reaction that occurs when an aqueous solution of hydrochloric acid reacts with an aqueous solution of ammonia. please find delta H also. Or at least give me the state at which each element is in.
Explain the molar mass is not identical : the molar mass is not identical, the molar mass of Br2 is only 159.80 g/mol compared to 162.35 g/mol for ICl F: ICl is polar while Br2 is nonpolar
Explain how to compare the two sets of requirements : two recent articles on accounting for multinational operations. You can use one that focuses on IFRS requirements and one that focuses on GAAP. Or you can use two articles that compare the two sets of requirements.

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd