Computers and Technology
Computers and Technology, 25.10.2020 04:00, jeanieb

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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:30, aesthetickait
How do you take a green screen out of the video while editing?
Answers: 2
image
Computers and Technology, 24.06.2019 20:20, isaiahromero15
Write python code that prompts the user to enter his or her favorite color and assigns the user’s input to a variable named color.
Answers: 1
image
Computers and Technology, 25.06.2019 08:50, JadeCaldwell
A-12.3 an american spy is deep undercover in the hostile country of phonemia. in order not to waste scarce resources, any time he wants to send a message back home, he removes all the punctuation from his message and converts all the letters to uppercase. so, for example, to send the message, “abort the plan! meet at the dark cabin.” he would transmit given such a string, s, of n uppercase letters, describe an efficient way of breaking it into a sequence of valid english words. you may assume that you have a function, valid(s), which can take a character string, s, and return true if and only if s is a valid english word. what is the running time of your algorithm, assuming each call to the function, valid, runs in o(1) time?
Answers: 3
image
Computers and Technology, 25.06.2019 16:30, alyssamaize
Unit 3 computer programming study guide refer to code. org for puzzles refer to brainpop; under functions, computer programming, variables part one: define. algorithm- a list of steps to finish a task binary- a way to represent information using 1 and 0 bug- part of a program that does not work correctly code- 1 or more commands to be carried out by a computer function debug sequencing loop repeat conditionals variable part two: answer accordingly. a programmer is to a computer as a teacher is to: a good algorithm must be: imagine writing a program that instructs a bird how to take off, fly and land. what function is likely to be looped? which of the following is most similar to a function? what do variables and functions have in common? 8. the main cause of bugs in coding is: 9. list the following in order from the simplest to most complex: function program step 10. if a program has gone through many iterations, what must be true? 11. what is a benefit of drying up code? a. it makes it less likely to break b. it makes the code compatible with different software c. it saves programmers time d. it makes it less vulnerable to hackers 12. a statement in a function can be most closely compared to: a. a step in a recipe b. a line of a poem c. a brushstroke in a painting d. a piece of assembled furniture t/f: are the solutions provided true? t/f: t/f: t/f:
Answers: 1
Do you know the correct answer?
Write a program to do the following. In main function, the program should define an integer array a...

Questions in other subjects: