SlideShare uma empresa Scribd logo
1 de 1
Baixar para ler offline
12) Write a program to calculate the total and average quiz marks for 4 students. There are 3
quizzes. a) Declare 2D array named marks [] [], ID array named total [] and 1D array named
average [] in main () . b) Pass the array marks [] [] to function Get Input () to get all the marks. c)
Pass the array marks[][], totall] and average [] to function Calculate (). This function will calculate
the total and average marks for each students. d) Display all results in ma in ().

Mais conteúdo relacionado

Mais de jaspreet882

16 In the United States publicly traded firms must file fin.pdf
16 In the United States publicly traded firms must file fin.pdf16 In the United States publicly traded firms must file fin.pdf
16 In the United States publicly traded firms must file fin.pdfjaspreet882
 
16 In the following pedigree a rare single gene disease is .pdf
16 In the following pedigree a rare single gene disease is .pdf16 In the following pedigree a rare single gene disease is .pdf
16 In the following pedigree a rare single gene disease is .pdfjaspreet882
 
16 Dewa Balide ielenmi su reten bir firmann sahibidir B.pdf
16 Dewa Balide ielenmi su reten bir firmann sahibidir B.pdf16 Dewa Balide ielenmi su reten bir firmann sahibidir B.pdf
16 Dewa Balide ielenmi su reten bir firmann sahibidir B.pdfjaspreet882
 
16 Cul es el trmino para el intercambio de material gen.pdf
16 Cul es el trmino para el intercambio de material gen.pdf16 Cul es el trmino para el intercambio de material gen.pdf
16 Cul es el trmino para el intercambio de material gen.pdfjaspreet882
 
16 Assume that X and S are the mean and the standard deviat.pdf
16 Assume that X and S are the mean and the standard deviat.pdf16 Assume that X and S are the mean and the standard deviat.pdf
16 Assume that X and S are the mean and the standard deviat.pdfjaspreet882
 
15pts Add a subtype discriminator for each supertype shown.pdf
15pts Add a subtype discriminator for each supertype shown.pdf15pts Add a subtype discriminator for each supertype shown.pdf
15pts Add a subtype discriminator for each supertype shown.pdfjaspreet882
 
16 6 pts Different regions of the frog embryo undergo dif.pdf
16 6 pts Different regions of the frog embryo undergo dif.pdf16 6 pts Different regions of the frog embryo undergo dif.pdf
16 6 pts Different regions of the frog embryo undergo dif.pdfjaspreet882
 
16 A 16yearold boy received a superficial cut on the late.pdf
16 A 16yearold boy received a superficial cut on the late.pdf16 A 16yearold boy received a superficial cut on the late.pdf
16 A 16yearold boy received a superficial cut on the late.pdfjaspreet882
 
15 points Many factors can influence the coefficient of li.pdf
15 points Many factors can influence the coefficient of li.pdf15 points Many factors can influence the coefficient of li.pdf
15 points Many factors can influence the coefficient of li.pdfjaspreet882
 
15 Yksek oklu balant varsa regresyon katsaylar a Beli.pdf
15 Yksek oklu balant varsa regresyon katsaylar  a Beli.pdf15 Yksek oklu balant varsa regresyon katsaylar  a Beli.pdf
15 Yksek oklu balant varsa regresyon katsaylar a Beli.pdfjaspreet882
 
15 When a lending institution takes a loan application from.pdf
15 When a lending institution takes a loan application from.pdf15 When a lending institution takes a loan application from.pdf
15 When a lending institution takes a loan application from.pdfjaspreet882
 
15 What is the risk of death if a patient is a female 16 .pdf
15 What is the risk of death if a patient is a female 16 .pdf15 What is the risk of death if a patient is a female 16 .pdf
15 What is the risk of death if a patient is a female 16 .pdfjaspreet882
 
15 Se dice que los sujetos se asignan al azar cuando a Ni.pdf
15 Se dice que los sujetos se asignan al azar cuando  a Ni.pdf15 Se dice que los sujetos se asignan al azar cuando  a Ni.pdf
15 Se dice que los sujetos se asignan al azar cuando a Ni.pdfjaspreet882
 
15 points Which of the following are correct comparisons bet.pdf
15 points Which of the following are correct comparisons bet.pdf15 points Which of the following are correct comparisons bet.pdf
15 points Which of the following are correct comparisons bet.pdfjaspreet882
 
15 pt Suppose we have two sets of MIPS codes shown below .pdf
15 pt Suppose we have two sets of MIPS codes shown below .pdf15 pt Suppose we have two sets of MIPS codes shown below .pdf
15 pt Suppose we have two sets of MIPS codes shown below .pdfjaspreet882
 
12 What is an advantage of using a plate culture for the gr.pdf
12 What is an advantage of using a plate culture for the gr.pdf12 What is an advantage of using a plate culture for the gr.pdf
12 What is an advantage of using a plate culture for the gr.pdfjaspreet882
 
15 Points Consider the relation stocks BOISQD with .pdf
15 Points Consider the relation stocks BOISQD with .pdf15 Points Consider the relation stocks BOISQD with .pdf
15 Points Consider the relation stocks BOISQD with .pdfjaspreet882
 
12 Internet ha creado ms oportunidades para los medios loc.pdf
12 Internet ha creado ms oportunidades para los medios loc.pdf12 Internet ha creado ms oportunidades para los medios loc.pdf
12 Internet ha creado ms oportunidades para los medios loc.pdfjaspreet882
 
15 of all Americans live in poverty If 44 Americans are ra.pdf
15 of all Americans live in poverty If 44 Americans are ra.pdf15 of all Americans live in poverty If 44 Americans are ra.pdf
15 of all Americans live in poverty If 44 Americans are ra.pdfjaspreet882
 
15 marks The black body radiation spectrum for the power p.pdf
15 marks The black body radiation spectrum for the power p.pdf15 marks The black body radiation spectrum for the power p.pdf
15 marks The black body radiation spectrum for the power p.pdfjaspreet882
 

Mais de jaspreet882 (20)

16 In the United States publicly traded firms must file fin.pdf
16 In the United States publicly traded firms must file fin.pdf16 In the United States publicly traded firms must file fin.pdf
16 In the United States publicly traded firms must file fin.pdf
 
16 In the following pedigree a rare single gene disease is .pdf
16 In the following pedigree a rare single gene disease is .pdf16 In the following pedigree a rare single gene disease is .pdf
16 In the following pedigree a rare single gene disease is .pdf
 
16 Dewa Balide ielenmi su reten bir firmann sahibidir B.pdf
16 Dewa Balide ielenmi su reten bir firmann sahibidir B.pdf16 Dewa Balide ielenmi su reten bir firmann sahibidir B.pdf
16 Dewa Balide ielenmi su reten bir firmann sahibidir B.pdf
 
16 Cul es el trmino para el intercambio de material gen.pdf
16 Cul es el trmino para el intercambio de material gen.pdf16 Cul es el trmino para el intercambio de material gen.pdf
16 Cul es el trmino para el intercambio de material gen.pdf
 
16 Assume that X and S are the mean and the standard deviat.pdf
16 Assume that X and S are the mean and the standard deviat.pdf16 Assume that X and S are the mean and the standard deviat.pdf
16 Assume that X and S are the mean and the standard deviat.pdf
 
15pts Add a subtype discriminator for each supertype shown.pdf
15pts Add a subtype discriminator for each supertype shown.pdf15pts Add a subtype discriminator for each supertype shown.pdf
15pts Add a subtype discriminator for each supertype shown.pdf
 
16 6 pts Different regions of the frog embryo undergo dif.pdf
16 6 pts Different regions of the frog embryo undergo dif.pdf16 6 pts Different regions of the frog embryo undergo dif.pdf
16 6 pts Different regions of the frog embryo undergo dif.pdf
 
16 A 16yearold boy received a superficial cut on the late.pdf
16 A 16yearold boy received a superficial cut on the late.pdf16 A 16yearold boy received a superficial cut on the late.pdf
16 A 16yearold boy received a superficial cut on the late.pdf
 
15 points Many factors can influence the coefficient of li.pdf
15 points Many factors can influence the coefficient of li.pdf15 points Many factors can influence the coefficient of li.pdf
15 points Many factors can influence the coefficient of li.pdf
 
15 Yksek oklu balant varsa regresyon katsaylar a Beli.pdf
15 Yksek oklu balant varsa regresyon katsaylar  a Beli.pdf15 Yksek oklu balant varsa regresyon katsaylar  a Beli.pdf
15 Yksek oklu balant varsa regresyon katsaylar a Beli.pdf
 
15 When a lending institution takes a loan application from.pdf
15 When a lending institution takes a loan application from.pdf15 When a lending institution takes a loan application from.pdf
15 When a lending institution takes a loan application from.pdf
 
15 What is the risk of death if a patient is a female 16 .pdf
15 What is the risk of death if a patient is a female 16 .pdf15 What is the risk of death if a patient is a female 16 .pdf
15 What is the risk of death if a patient is a female 16 .pdf
 
15 Se dice que los sujetos se asignan al azar cuando a Ni.pdf
15 Se dice que los sujetos se asignan al azar cuando  a Ni.pdf15 Se dice que los sujetos se asignan al azar cuando  a Ni.pdf
15 Se dice que los sujetos se asignan al azar cuando a Ni.pdf
 
15 points Which of the following are correct comparisons bet.pdf
15 points Which of the following are correct comparisons bet.pdf15 points Which of the following are correct comparisons bet.pdf
15 points Which of the following are correct comparisons bet.pdf
 
15 pt Suppose we have two sets of MIPS codes shown below .pdf
15 pt Suppose we have two sets of MIPS codes shown below .pdf15 pt Suppose we have two sets of MIPS codes shown below .pdf
15 pt Suppose we have two sets of MIPS codes shown below .pdf
 
12 What is an advantage of using a plate culture for the gr.pdf
12 What is an advantage of using a plate culture for the gr.pdf12 What is an advantage of using a plate culture for the gr.pdf
12 What is an advantage of using a plate culture for the gr.pdf
 
15 Points Consider the relation stocks BOISQD with .pdf
15 Points Consider the relation stocks BOISQD with .pdf15 Points Consider the relation stocks BOISQD with .pdf
15 Points Consider the relation stocks BOISQD with .pdf
 
12 Internet ha creado ms oportunidades para los medios loc.pdf
12 Internet ha creado ms oportunidades para los medios loc.pdf12 Internet ha creado ms oportunidades para los medios loc.pdf
12 Internet ha creado ms oportunidades para los medios loc.pdf
 
15 of all Americans live in poverty If 44 Americans are ra.pdf
15 of all Americans live in poverty If 44 Americans are ra.pdf15 of all Americans live in poverty If 44 Americans are ra.pdf
15 of all Americans live in poverty If 44 Americans are ra.pdf
 
15 marks The black body radiation spectrum for the power p.pdf
15 marks The black body radiation spectrum for the power p.pdf15 marks The black body radiation spectrum for the power p.pdf
15 marks The black body radiation spectrum for the power p.pdf
 

Último

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Último (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

12 Write a program to calculate the total and average quiz .pdf

  • 1. 12) Write a program to calculate the total and average quiz marks for 4 students. There are 3 quizzes. a) Declare 2D array named marks [] [], ID array named total [] and 1D array named average [] in main () . b) Pass the array marks [] [] to function Get Input () to get all the marks. c) Pass the array marks[][], totall] and average [] to function Calculate (). This function will calculate the total and average marks for each students. d) Display all results in ma in ().