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

  How to write basic structure of an exception handler

How to write basic structure of an Exception handler a. generate an abstract class Furniture b. Declare an abstract process Discount the returns no value but accepts the cost of item

  State diagram for coffee machine controller

Raw behavioural specs utilizing the state diagram for the coffee machine controller explained as follow. State events, State actions.

  Implementation of type data structures

How can string and word variable type data structures be implemented?

  Create a shippedorder class that derives from order

Create a ShippedOrder class that derives from Order.

  Why it professionals to consider project cost management

Why is it important for the IT professionals to consider project cost management? What might be the result if IT professionals were to overlook this aspect of their projects.

  Find out largest, smallest, and median values of array c

Your program must ask for a number and print "YES" if the number is in array a, otherwise print "not found"

  What profit do you see with partitioned view

Explain your idea for a database along with your thoughts for a partitioned view. 1. How will you use this partitioned view?

  What tools you would need to conduct the site

what tools you would need to conduct the site survey and why each is required.

  Can you give the corresponding e-r diagram

For each following statement, please give the corresponding E-R diagram (entities and relationship), and the structural constraints (Cardinality and Participation)

  Finding most effective it projects

What will you recommend they do in order to find the most effective IT projects?

  Assembly language version of c code

In MIPS assembly, write down an assembly language version of following C code segment: int A[10], B[10]; for (i=1; i

  Explain the features and characteristics of atm networks

explain the features and characteristics of ATM networks, as well as their benefits and limitations.

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