Computers and Technology, 23.05.2021 09:00 ani61
Write a C program that has the following functions:
Function 1: Ask the user to enter 10 grades (between 0 and 99). The program should store the grades in an array of integers.
Function 2: Receive the grades array and compute and return the largest and smallest grades. The program should print from main these numbers.
Function 3: Receive the addresses of the smallest and largest grades (do not send the array), and swap them. For example if the smallest element is located at position 2, and largest at position 4, then after swapping, we should find the smallest element in position 4, and largest at position 2.
Function 4: print the grade followed by a number of β*β depending on the grade. Print one star for each 10 points. For example, between 90 and 99 will print 9 stars, between 80 and 89 will print 8 stars, etc..
Example if the user enters 99, 52, 77, 80, 85, 88, 90, 66, 50, 55 40:
Smallest Number: 40
Largest Number: 99
99
52
77
80
85
88
90
66
55
40
Answers: 2
Computers and Technology, 23.06.2019 06:00
Which statement is true of web-based social media? a.they allow consumers to interact with and update content. b.they cannot be updated easily, as compared to print media. c.they are expensive to produce and maintain, as compared to print and television. d.they can exist independent of the internet.
Answers: 1
Computers and Technology, 24.06.2019 13:30
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
Computers and Technology, 24.06.2019 20:20
3. write assignment statements that perform the following operations with the variables a, b, and c: a. adds 2 to a and assigns the result to b b. multiplies b times 4 and assigns the result to a c. divides a by 3.14 and assigns the result to b
Answers: 2
Write a C program that has the following functions:
Function 1: Ask the user to enter 10 grades (be...
Mathematics, 17.10.2020 04:01
Mathematics, 17.10.2020 04:01
Chemistry, 17.10.2020 04:01
Mathematics, 17.10.2020 04:01
Mathematics, 17.10.2020 04:01
Mathematics, 17.10.2020 04:01
Social Studies, 17.10.2020 04:01
Mathematics, 17.10.2020 04:01
English, 17.10.2020 04:01
Computers and Technology, 17.10.2020 04:01