![wsdafvbhjkl](/avatars/25775.jpg)
wsdafvbhjkl
25.10.2020 •
Computers and Technology
Write a program to do the following.
In main function, the program should define an integer array and a pointer that points to the array.it
will ask the user to input 25 students' scores (scores are between 0 and 100 inclusive, so need to do
input validation), then pass the pointer and its size to a function. The function should find the
corresponding letter grades and return the pointer that points to the array of letter grades.
Also pass the score pointer and its size to the other function, which will calculate the average of those
25 scores with the lowest and highest score dropped, and then return the average (double type).
The input of those scores and output of the letter scores and average must be in main function, and
there is no input and output in the functions besides main function.
No global variables are allowed.
90-100 (include 90 and 100) is A
80-90 (include 80 but not include 90) is B
70-80 (include 70 but not include 80) is C
60-70 (include 60 but not include 70) is D
below 60 is F
Solved
Show answers
More tips
- G Goods and services How to Choose a Coffee Maker? The Ultimate Guide for Coffee Lovers...
- O Other How to Accidentally Get a Rare Coin with Your Change and How to Know Its Value?...
- S Society and Politics How Could Nobody Know About the Dead Mountaineers?...
- D Dating, Love, Relationships Why do we feel shame?...
- F Family and Home Why Does God Punish Us Constantly and How Can We Fix It?...
- F Family and Home Do Lullabies Help Babies Sleep or Is it Just a Myth?...
- B Business and Finance How to Get Your Money Back When Lending? Top 7 Ways...
- S Society and Politics Выборы: Смысл, Значение и Отражение...
- D Dating, Love, Relationships Why Should the Man be Active and the Woman Passive during Foreplay?...
- P Philosophy How did the concept of module arise in computer science?...
Answers on questions: Computers and Technology
- C Computers and Technology SQL Competency In this project, you will demonstrate your mastery of the following competency: Analyze the results of queries constructed to address data requirements Scenario...
- C Computers and Technology Which among the following if absent, a computer is not complete. A. mouseB. DVDC. userD. projector...
- C Computers and Technology The input to this problem consists of a sequence of 7-digit phone numbers written as simple integers (e.g. 5551202 represents the phone number 555-1202). The sequence is...
- C Computers and Technology In this assignment, you will develop strategies to protect data and file systems in a small Linux environment. The environment contains a Linux file and print server, a Linux...
- C Computers and Technology What is the easiest way to learn programming and cryptography together...
- C Computers and Technology Arookie programmer has just typed over 1000 lines code into the command line interpreter for a project that is due the next day, what huge mistake has he made? question 9...
- B Business On June 1, 2017, Vaughn Manufacturing was started with an initial investment in the company of $22,410 cash. Here are the assets, liabilities, and common stock of the company...
- H History Text mrbeast solve his riddle...
- M Mathematics 1.5x-1.9y=-29 x-0.9y=4.5 as a system of a linear equation...
- H History The states are, and should remain, the core of our republic. It is there that the people can be properly represented. When states have to bend to the central government s...
Ответ:
do you have any notes 2ith this