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

  Produce a decision table

Produce a decision table

  Healthcare it

Summarizing everything you have learned related to the Healthcare IT, describe what has been the most surprising or the interesting lesson that is learned.

  Developing uml one state diagram

How the system responds to the external and/or internal events by developing a UML ONE State Diagram.

  The decades to include various methodologies

The System Development Life Cycle has developed over the decades to include a variety of Methodologies. Each of these Methodologies utilizes the same methods in a different way. define the primary SDLC Methodologies, their advantages and disadvant..

  Define three approaches to organizing programming teams

How does implementing a maintenance change differ from the new system development project.

  How to change the employee class

design a program, employe_data.cpp, with the Employee class that has two employees; sets their age, yearsOfService, and salary (rounded to the nearest thousands of dollars; and prints their values.

  Identify the main elements of the us criminal

recognize the key elements of the US criminal justice system and explain how they relate to the job of the computer forensic investigator? Support the opinion or any arguments you may make.

  Why are most photographic images stored in a lossy format

Why are most photographic images stored in a lossy format

  Analyze running time of algorithm

Analyze running time of algorithm

  Compare and evaluate the two different styles

What do you think are the pros of using frames.Compare and evaluate the two different styles.

  Benefit and drawback of each major operating system

Benefit and drawback of each major operating system

  Give an the output of program

What is an output of this Java program.

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