Generate and display on the console the elements

Assignment Help Computer Engineering
Reference no: EM13323050

Design a program in C whose task is to manage the grades of M students in a class in which N quizzes of equal weighting are given during the course of a semester. The program is to do the following in the indicated sequence when the program is executed:

1. Ask the user to type on the keyboard the number of students M and the number of quizzes N, which represent the number of rows and the number of columns, respectively, in a two-dimensional array x[M][N] of floating-point numbers.

2. Ask the user to type on the keyboard the values of all the elements of the array x[M][N], with all of the quiz grades being ? 10 points.

3. Display on the console the M rows and N columns of inputted array element values.

4. Generate and display on the console the elements of a one-dimensional array a[N] where each element of a[N] represents the average grade in the class in each of the N quizzes .

5. Generate and display on the console the elements of a one-dimensional array b[M] where each element of b[M] represents the average grade over the semester of each of the M students .

6. Generate and display on the console the averge grade for the entire class over the entire semester.

 

Reference no: EM13323050

Questions Cloud

Explain what is the identity of the precipitate : If aqueous solutions of Na2SO4 and BaCl2 are mixed, a white precipitate forms. What is the identity of the precipitate
What other orchard shacks and the cold storage building : Determine the investigation you will do with regard to the physical infrastructure of the orchards, What other orchard shacks, and the cold storage building.
Explain what is the concentration of ni2 ions : A 0.130-mole quantity of NiCl2 is added to a liter of 1.20 M NH3 solution. What is the concentration of Ni2 ions at equilibrium. Assume the formation constant* of Ni(NH3)62 is 5.5 × 108.
Impact of american culture on their country : Which European country has expressed the greatest concern about the impact of American culture on their country?
Generate and display on the console the elements : Generate and display on the console the elements of a one-dimensional array b[M] where each element of b[M] represents the average grade over the semester of each of the M students .
Highest ranking pirate makes a proposal : You are the highest ranking pirate of a group of five pirates which has just captured a treasure of 100 gold pieces. To divide up the treasure, the group uses the following scheme: The highest ranking pirate makes a proposal on how the treasure shoul..
How far above the diver does it appear to be : A skin diver is 2.1m below the surface of a lake. A bird flies overhead 7.2m above the surface of the lake. how far above the diver does it appear to be
Implement the lzw algorithm : The LZW algorithm compresses a given text by figuring out patterns which appear very often in the text. The basic idea is to replace (perhaps very long) patterns which appear many times by a much shorter code. Read about this algorithm here .
Cybersecurity dr - bcp presentation : Discuss the benefits of incorporating technology-based solutions when planning for recovery and restoral of IT operations.

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  Compare and contrast two network operating systems

Why these would be appropriate for a client - in helping them make the best decision for their organization - as they would like to have a networking system which links the systems of all of their locations.

  Create a white paper based on knowledge

Create a white paper based on knowledge

  Estimating average access time of system

The hit ratio for read accesses only is 0.9. A write-through procedure is used. Explain the average access time of system taking only memory read cycles?

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  How to provide a cost-effective means of protection

What will be an appropiate outlined for this and provide a cost-effective means of protection.

  Create a class named package with data fields for weight

Create a class named Package with data fields for weight in ounces (oz.), shipping method, and shipping cost.

  Identify the test objectives and test approaches

A typical download takes one hour, and an interrupted download must be restarted from the beginning. The number of customers downloading at the same time ranges from 10 to 100 throughout peak hours. On average, your system could go down about once..

  Make a script that uses the following components

design a script that uses the following components: an array, sub procedure, explicit declaration, RUNAT=Server, and a function.

  Transmitting message and tentative checkpoint

Is node P allowed to transmit the messages related to application (as opposed to message which is part of checkpoint algorithm itself) immediately after having taken a tentative checkpoint?

  What do you mean by the concept of "code reuse"

What is meant by the concept of "code reuse"? consider some possible ways in which code may be reused. Do you think this concept is an important one.

  What are the xml databases

What is data warehousing? How are databases and data warehousing related? Do you believe data warehousing is a fad or a "real" technology that would benefit organizations?

  Write c program prompt the user for a filename to open

write C program prompt the user for a filename to open

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