this program will read in a group of test scores (positive integers from 1 to 100) from the keyboard and then calculate and output the average score as well as the highest and lowest score. there will be a maximum of 100 scores.

Answers

Answer 1

You will discover how to use arrays to determine the average of the user's n inputted elements in this example.

You should be familiar with the following C programming concepts in order to comprehend this example:

#include <stdio.h>

int main() {

   int n, i;

   float num[100], sum = 0.0, avg;

   printf("Enter the numbers of elements: ");

   scanf("%d", &n);

   while (n > 100 || n < 1) {

       printf("Error! number should in range of (1 to 100).\n");

       printf("Enter the number again: ");

       scanf("%d", &n);

   }

   for (i = 0; i < n; ++i) {

       printf("%d. Enter number: ", i + 1);

       scanf("%f", &num[i]);

       sum += num[i];

   }

   avg = sum / n;

   printf("Average = %.2f", avg);

   return 0;

}

Learn more about programming here-

https://brainly.com/question/11023419

#SPJ4


Related Questions

Conversion Practice: Find the equivalent binary or decimal numbers below. Binary Decimal Binary Decimal 100 5 101 17 1101 63 0001 1111 64 0010 0000 127 1010 1010 256 1111 1111 513

Answers

Explanation:

Binary --> Decimal

100 --> 4

101 --> 5

1101 --> 13

0001 1111 --> 31

0010 0000 --> 32

1010 1010 --> 170

1111 1111 --> 255

Binary <--> Decimal

101 <--> 5

0001 0001 <--> 17

0011 1111 <--> 63

0100 0000 <--> 64

0111 1111 <--> 127

0001 0000 0000 <--> 256

0010 0000 0001 <--> 513

The way that a writer displays their personality and imagination on the page is called:

Answers

Answer:

Writer's Voice im might be wrong tho so don't count on me

A crew position on set whose sole responsibility is to oversee the ingestion of footage and tapeless workflow.
A. Anchor
B. Camera Operator
C. Digital Image Technician (DIT)
D. Producer

Answers

C. DIT is a person in the camera department who works in the cinematographer on workflow, systemization camera settings, etc.

i know i know i should be asking a question HOWEVER i have a task for you... PLAY LEGEND OF ZELDA BREATH OF THE WILD AND I"LL GIVE YOU BRAINLIEST!!!!!!

Answers

Answer: who doesnt play that down right amazing game?

Explanation: it is perfection

Answer:

I ALREADY HAVE OVER 1000 HOURS ON THE GAME! I STARTED IN 2019

Explanation:

Best game ever

What is the best CPU you can put inside a Dell Precision T3500?

And what would be the best graphics card you could put with this CPU?

Answers

Answer:

Whatever fits

Explanation:

If an intel i9 or a Ryzen 9 fits, use that. 3090's are very big, so try adding a 3060-3080.

Hope this helps!

anyone pls answer this!!!!!!thanks ^-^​

anyone pls answer this!!!!!!thanks ^-^

Answers

Answer:

True

False

False

False

Explanation:

HTML isnt a scripting a scripting language it's a markup language

There are 6 levels of HTML

An empty tag only has a starting tag

you are designing an application that will use an azure sql database. you have identified the following database requirements: supports four read-scale replicas supports up to 25 tb of data provides an sla of 99.99% what is the least costly service tier that meets the requirements

Answers

Based on the identified database requirements, the least costly service tier that meets the requirements is the Business Critical service tier. This service tier provides support for 4 read-scale replicas, up to 100 TB of data, and an SLA of 99.99%.

What is  SQL Database?

SQL Database, also known as Microsoft Azure SQL Database, is a cloud-based relational database service provided by Microsoft Azure. It is a fully managed database service that allows users to create, scale, and manage SQL Server databases in the cloud. SQL Database provides many of the same features as an on-premises SQL Server database, including support for Transact-SQL (T-SQL) and the ability to use familiar SQL Server tools such as SQL Server Management Studio (SSMS).

To know more about SQL Database visit:

https://brainly.com/question/31176715

#SPJ11

Take one action in the next two days to build your network. You can join a club, talk to new people, or serve someone. Write about this action and submit this as your work for the lesson. icon Assignment

Answers

Making connections is crucial since it increases your versatility.You have a support system of people you can turn to when things get tough so they can help you find solutions or in any other way.

What are the advantages of joining a new club?

Support Network - Joining a club or organization can help you develop a support network in addition to helping you make new acquaintances and meet people.Your teammates and friends will be there for you not only during practice but also amid personal difficulties. Working collaboratively inside a group, between groups, between communities, or between villages is known as network building.One method of creating a network is by forming a group. Attending events and conferences and developing connections with other attendees and industry speakers is one of the finest methods to build a strong network.In fact, the framework of many networking events and conferences encourages networking and connection opportunities. Personal networking is the process of establishing connections with organizations or individuals that share our interests.Relationship growth often takes place at one of the three levels listed below:Networks for professionals.Neighborhood networks.Personal networks. Reaching out is part of an active communication process that will help you learn more about the other person's interests, needs, viewpoints, and contacts.It is a life skill that needs to be actively handled in order to preserve or, more importantly, to advance a prosperous profession. various network types.PAN (personal area network), LAN (local area network), MAN (metropolitan area network), and WAN (wide area network) are the different types of networks.

To learn more about network refer

https://brainly.com/question/28041042

#SPJ1    

What is the result when you run the following program? print(2 + 7) print("3 + 1") Responses 9 4 9 4 9 3 + 1 9 3 + 1 2 + 7 4 2 + 7 4 an error statement

Answers

The word "program" can be used as a verb. To establish, control, or alter something in order to get a certain outcome.

Thus, Both Americans and Britons prefer the spelling "program" when discussing developing code. By the age of 18, youth not enrolled in the Chicago CPC program had a 70% higher chance of being detained for a violent offense.

And by the age of 24, program participants were 20% less likely to have spent time in a jail or prison. A robot in the shape of a caterpillar called Code-A-Pillar is one of the devices. Its interchangeable parts each add a different movement command to the device as a whole, allowing the young scholars to program the robot's behavior as they figure out a pattern to get it from point A to point B.

Thus, The word "program" can be used as a verb. To establish, control, or alter something in order to get a certain outcome.

Learn more about Program, refer to the link:

https://brainly.com/question/30613605

#SPJ1

User
Application Software
Operating System
Hardware

Assignment #1
•Explain the meaning of this graphics organizer base on what you have learned from this lesson.

• Is an "app" same in meaning with "application"? ​

User Application Software Operating System HardwareAssignment #1 Explain the meaning of this graphics

Answers

This graphics organizer base talks about Software and how it is divided into two groups such as the operating systems and application software.

What are Software?

Software are said to be often shared into  two categories such as:

The operating systems The application software.

Note that the Operating systems functions by helping the hardware and produce a kind of interface between the hardware and its user while the Application software is said to be a stage of a programs that help the user to do anything meaningful just as seen in the diagram.

Conclusively, The word "app" has the in meaning with "application". It is known to be the short form of application.

Learn more about Application Software from

https://brainly.com/question/1538272

mention the generation we have in computer​

Answers

Where is the question?

Look at the slide.

An example of a slide. There is a title. There is one main bullet entry with 3 subentries below it. There is a lot of text on the slide. There is no image. The background is dark red and the text is black.

How could the slide best be improved?

by choosing a better font
by providing more information
by using a lighter background
by enlarging the heading

Answers

Answer:

c

Explanation:

Answer:

the answer is c

Explanation:

100%

cprogramming to find sum of 2 numbers

Answers

With regard to the above , here's an example of a C program to find the sum of two numbers -

#include <stdio.h>

int main() {

   int num1, num2, sum;

   

   printf("Enter the first number: ");

   scanf("%d", &num1);

   

   printf("Enter the second number: ");

   scanf("%d", &num2);

   

   sum = num1 + num2;

   

   printf("The sum of %d and %d is: %d\n", num1, num2, sum);

   

   return 0;

}

How does this work?

In this program,the user is prompted to enter two numbers. These numbers are then stored in   variables num1 and num2.

The sum of the two numbers   is calculated and stored in the variable sum. Finally,the program outputs the sum to the console.

Learn more about cprogramming  at:

https://brainly.com/question/26535599

#SPJ1

1. Word Module 2 SAM Textbook Project

2. Word Module 2 SAM Training

3. Word Module 2 SAM End of Module Project 1

4. Word Module 2 SAM End of Module Project 2

5. Word Module 2 SAM Project A

6. Word Module 2 SAM Project B

Answers

The raise To Power Module of the program's calling error can be found in the real and integer values of the argument variables.

String should be spelled Sting. The set Double Module instead of returning an integer, does such. Access to local variables declared in the Main module is restricted to that module only. The raise To Power Module of the program's calling argument variables' real and integer values can be used to pinpoint the issue. Although the arguments for the raise To Power Module (Real value and Integer power) have been defined. The integer power is represented as "1.5," and the real value is supplied as "2." A real number, on the other hand, is a number with a fractional part. thus, a number without a fraction is considered an integer. 1.5 is a real number, whereas 2 is an integer. The parameters' contents when invoking raise To Power.

Learn more about The raise To Power Module here:

https://brainly.com/question/14866595

#SPJ4

Question 2 / 5
Which of the following is a drug?
a.)alcohol
b.)water
c.)tea
d.)coffee

Answers

Answer:

alcohol

Explanation:

Answer:

alcohol

Explanation:

i mean it's self explanatory

Can someone explain the difference between general purpose and custom written software please

Answers

Answer:

General purpose applications and custom software are the two major types of application software. General purpose applications, which are sometimes referred to as off-the-shelf applications, are designed as fully-featured packages while custom software is tailor-made for a client's specific needs. Explanation:

inputs and outputs that allow a user to interact
with a piece of software

Answers

I do not understand what you are asking

mashup developers usually include additional apis on the mashup site that generate revenue by linking to customized

Answers

Mashup developers usually include additional APIs on the mashup site that generate revenue by linking to customized advertisings.

What is mashup?

In web development, a "mashup" is a web page or web application that combines content from various sources to produce a single new service that is presented in a single graphical user interface. This term comes from the computer industry.

A user could, for instance, make a map mashup by fusing the locations, images, and contact information for their local library branches with a G∅∅gle map.

The term suggests simple, quick integration, frequently utilizing open application programming interfaces (open API) and data sources to produce enriched results that were possibly not the intended use for the original raw source data. By combining elements from two or more sources, the term "mashup" first appeared.

Learn more about mashup

https://brainly.com/question/29523786

#SPJ4

Twisted copper telephone wire, coaxial copper cable, fiber-optic cable, and media for wireless transmission are all __________.

Answers

Twisted copper telephone wire, coaxial copper cable, fiber-optic cable, and media for wireless transmission are all Physical transmission media.

Examine the variations between a hub and a switch. The network connecting devices are the hub and switch, and they both aid in connecting numerous devices. Hub transmits the signal to the port while operating at the physical layer. Change the information's route and transmit it via the network. Hub is a layer 1 (physical layer) device. Switch is a layer 2 (data link layer) component. A router is a layer 3 (network layer) device. 2. A Hub operates using broadcasting. The transmission path that a signal travels along in data communications is referred to as a physical media. As a communications channel, numerous different types of transmission media are utilized. Communication frequently takes the form of electromagnetic waves.

Learn more about communication here-

https://brainly.com/question/14809617

#SPJ4

Which of the following is a benefit of display advertising over search advertising?

A
Display advertising is cheaper than search advertising

B
Appearing on relevant websites offering advertising space

C
Ads can appear at the top of search engine results pages

D
Display ads are more likely to be clicked on​

Answers

Answer:

D.

Explanation:

Firms that adopt software as a service actually buy a system's software and hardware, so these systems become a fixed operating expense. group of answer choices true false

Answers

False, Firms that adopt software as a service actually buy a system's software and hardware, so these systems become a fixed operating expense.

What is the distinction between usage and adoption?

The basic assessment of how a user interacts with the software. If software usage is how frequently or for what purposes the software is used, software adoption is how fully utilized the software is.

What is user adoption technology?

User adoption is the method of getting users of software or technology to use it the way it is planned and help them make the most out of it. A user adoption strategy can help companies boost productivity, deliver a better user experience, increase user engagement, and more inferior churn rates

To learn more about software programs , refer

https://brainly.com/question/1538272

#SPJ4

How would you describe the relationship between blocks of code and commands?

Answers

Code and Commands have similar programs coding has only one thing to do or done but commands can be told anytime by an input device.

Imagine you are the human resource director for a small video game company that employs around 20 coders, managers, artists, etc. You're in charge of writing the safety rules and regulations for the company. Provide at least four discrete rules you would implement

Answers

Answer: maybe not put cheats no secret or easter eggs or hard challenges im not sure

Explanation:

The four discrete rules one  would implement can be

Provide no confidential company information to anyone who is not an employee of the company.Acknowledge sources obtained from other people's games or anything else with a copyright claim.Avoid abusing your power by cheating or abusing the games to benefit yourself or your associates.Maintain a positive workplace culture and show the utmost respect to everyone to increase productivity.

What is a  manager?

A manager refers to a person who is responsible head of any project and helps in arranging the resources, checking the progress, and timely completion of it in order to achieve the vision and goal of the organization.

Preventing workplace diseases and injuries, as well as the suffering and financial burden they can bring on employees, their families, and employers are the fundamental objective of safety and health initiatives.

Learn more about managers, here:

brainly.com/question/29023210

#SPJ5

You are working as a project manager. One of the web developers regularly creates dynamic pages with a half dozen parameters. Another developer regularly complains that this will harm the project’s search rankings. How would you handle this dispute?

Answers

From the planning stage up to the deployment of such initiatives live online, web project managers oversee their creation.They oversee teams that build websites, work with stakeholders to determine the scope of web-based projects, and produce project status report.

What techniques are used to raise search rankings?

If you follow these suggestions, your website will become more search engine optimized and will rank better in search engine results (SEO).Publish Knowledgeable, Useful Content.Update Your Content Frequently.facts about facts.possess a link-worthy website.Use alt tags.Workplace Conflict Resolution Techniques.Talk about it with the other person.Pay more attention to events and behavior than to individuals.Take note of everything.Determine the points of agreement and disagreement.Prioritize the problem areas first.Make a plan to resolve each issue.Put your plan into action and profit from your victory.Project managers are in charge of overseeing the planning, execution, monitoring, control, and closure of projects.They are accountable for the project's overall scope, team and resources, budget, and success or failure at the end of the process.Due to the agility of the Agile methodology, projects are broken into cycles or sprints.This enables development leads to design challenging launches by dividing various project life cycle stages while taking on a significant quantity of additional labor.We can use CSS to change the page's background color each time a user clicks a button.Using JavaScript, we can ask the user for their name, and the website will then dynamically display it.A dynamic list page: This page functions as a menu from which users can access the product pages and presents a list of all your products.It appears as "Collection Name" in your website's Pages section.

        To learn more about search rankings. refer

        https://brainly.com/question/14024902  

         #SPJ1

Are loans to a company or government for a set amount of time they earn interest and are considered low risk

Answers

The statement is referring to bonds rather than loans. Bonds are debt instruments issued by companies or governments to borrow money from investors for a set period of time.

Investors who purchase bonds lend money to the issuer and earn interest on their investment. Bonds are generally considered to be lower risk compared to other forms of investment, such as stocks. However, it's important to note that the risk level of bonds can vary depending on the issuer's creditworthiness and the prevailing market conditions.

Learn more about instruments here;

https://brainly.com/question/28572307

#SPJ11

What is the drawback of the linear model?
A.
communication is only in one direction
B.
too much noise is created
C.
no feedback is sent on receiving the message
D.
long travel between the sender and the receiver

Answers

Answer:

long travel between the sender and the receiver

Explanation:

The drawback of linear model is long travel between the sender and the receiver. The correct option is D.

What is linear model?

Depending on the context, the phrase "linear model" is used differently in statistics.

The word is frequently used interchangeably with a linear regression model since it occurs most frequently in relation to regression models.

The phrase has a different connotation when employed in time series analysis, though.

Something that is linear is related to a line. A line is built using all of the linear equations. A non-linear equation is one that cannot be represented by a straight line. It has a variable slope value and resembles a graphed curve.

The linear model's disadvantage is the distance between the transmitter and the receiver.

Thus, the correct option is D.

For more details regarding linear model, visit:

https://brainly.com/question/29757372

#SPJ2

22
Project deliverables are only product-related, such as a piece
of hardware or software.
Group of answer choices
True
False

Answers

False, project deliverables are not only product-related.

They may include product-related outputs such as hardware or software but may also encompass intangible outcomes, such as improved customer satisfaction, better employee engagement, or increased organizational efficiency.

Project deliverables are quantifiable outputs of a project. They are results, such as products, services, or outcomes, that are required to be delivered to complete a project or part of a project, according to the project charter, plan, or statement of work (SOW).

They may include both tangible and intangible elements, and they must be defined and specified with clarity to avoid ambiguity.Project deliverables are critical because they aid in the definition of project scope, enabling project managers to specify the precise boundaries and parameters of a project.

By defining project deliverables, project managers may establish expectations for project stakeholders, assign responsibilities and accountability, manage project risks, and monitor progress and performance. They also provide a useful framework for project communication, quality control, and evaluation.

Learn more about project here,

https://brainly.com/question/25009327

#SPJ11

you have configured a failover cluster with two servers as hosts, srv1 and srv2. each server has three network interface cards: nic1 connects the server to the main network. clients connect to the cluster through nic1. nic2 connects the server to the storage area network (san). the san is used only for access to the storage. nic3 is a private network used only by srv1 and srv2 for sending out heartbeat signals and performing convergence. how should you configure the networking settings for nic2 in the failover clustering management console?

Answers

For NIC1, choose Allow the cluster to use this network and select the Allow clients to connect through this network option.

how should you configure the networking settings for nic2 in the failover clustering management console?

For NIC2, choose Allow the cluster to use this network and clear the Allow clients to connect through this network option.

How can you move the applications from Cluster1 to Cluster2?

How do you transfer applications from Cluster 1 to Cluster 2? The term "electronic commerce" refers to the sale of electronic goods. You've set up a failover cluster with three hosts, Srv1, Srv2, and Srv3. You've made the DHCP service a clustered service.

Why can I vMotion between two different data centres?

vMotion Requirements

IP network with minimum 622 Mbps bandwidth is required. The term "electronic commerce" refers to the sale of electronic goods. The source and destination ESX servers must be on same broadcast domain or if it is in different domain, it must have reachability to each other.

learn more about clustering visit:

https://brainly.in/question/3720681

#SPJ4

state the components of The Havard architecture​

Answers

Answer:

Explanation:

Harvard Architecture consists of Arithmetic Logic Unit, Data Memory, Input/output, Data Memory, Instruction Memory, and the Control Unit. Harvard Architecture has separate memory for data and instructions. In that way, both instruction and data can be fetched at the same time, thus making it comfortable for the users.

The Harvard architecture is a computer architecture model that is used in many microcontrollers and microprocessors. The key components of the Harvard architecture are:

Instruction memory: A separate memory unit that stores the program instructions. This memory is usually read-only, meaning that the instructions cannot be modified during runtime.Data memory: A separate memory unit that stores the data being processed by the program. This memory is usually read-write, meaning that the data can be both read from and written to during runtime.Processor core: The central processing unit (CPU) that performs the arithmetic and logic operations. The processor core has direct access to both the instruction memory and the data memory.Bus structure: A set of buses that connect the various components of the Harvard architecture. The instruction bus carries the instruction from the instruction memory to the processor core, while the data bus carries data between the data memory and the processor core.Input/Output (I/O) interface: A mechanism for communicating with external devices, such as sensors and actuators. The I/O interface allows the processor core to read and write data from and to external devices.

These components work together to allow the Harvard architecture to efficiently execute the program instructions and perform data processing tasks. The separate instruction and data memory units allow the processor core to fetch and execute instructions while simultaneously accessing the data memory, improving performance and making the Harvard architecture well suited for real-time control applications.

what should be the objective or result of an iteration?

Answers

Well, what should be the objective or result of an iteration? to produce a portion of the solution system.
Other Questions
A compressor, which squeezes air more and more tightly, is a vital component in a(n)A)hydraulic system.B)pneumatic system.C)mechanical systemD)electrical system On December 31, Katie Corp. records a journal entry related to an installment note that includes a debit to interest expense for $4,000, and a debit to notes payable for $9,000. Katie's journal entry should also include a credit to cash for: Choose the answer that best translate algebraic expression below.2(x+5)A) twice the sum of a number and 5B) 2 times the difference of a number and 5C) 5 more than twice a numberD) 5 less than 2 times a number When Ranim started karate, her highest kick went 110110 110, degrees from the ground. Her instructor asked her to practice until her highest kick goes155155 155, degrees from the ground. Which equation will tell us the measure of the additional angle, aaa, that Ranim's kick needs to go to reach 155155 155, degrees from the ground?Choose 1 answer: How did westward expansion affect Native American tribes? which of the following is a valid reference count for an object that is being referenced Kevin is remodeling his bathroom. He needs to cut a circular hole out of a countertop to place the sink, as shown in the figure. What will be the area of the countertop once Kevin cuts the hole, to the nearest square inch? Use 3.14 as an approximation for pi. How many times can 7 go into 9 The area of a square room can be expressed as 196x12y10z6 square feet . hajime is installing a wallpaper border along the perimeter of the room. what is the perimeter? 52x6|y5z3| feet 52x10y8z4 feet 56x10y8z4 feet 56x6|y5z3| feet The firm is considering discounting the product by 5% in the face of rising raw material costs. The current price is $110.00, and the current variable cost per unit is $20.00. The new price of raw materials will drive the variable cost per unit up to $ 28.00 per unit. By what percent will the unit product sales have to increase to achieve the same profit compared to where the firm was before these changes? In the equation, y=6/x, does y vary directly with x?Please help!! When the next human influenza pandemic strikes, it will almost certainly involve which other group of animals?. The balance sheet for Oriole Consulting reports the following information on July 1, 2020. Long-term liabilities Bonds payable $4,500,000 Less: Discount on bonds payable 180,000 $4,320,000 Oriole decides to redeem these bonds at 104 after paying annual interest. Prepare the journal entry to record the redemption on July 1, 2020. List two details from the article that support the argument for requiring one hundred hours of community service to graduate high school. A species of hawk occupies the same niche in a forest that a species of falcon occupies in a nearby forest. What would be the most likely result if members of the hawk population were introduced to the falcon's forest? an oral solution has strength of 500 mg in 5 mL. prepare a 0.6g dose per physician order. how many mL will you need to satisfy this order? (x+4)/5 = (x-2)/7 please help Assuming a positive RNF, an increase in which variable increases the RNF?-Capital intensity ratio-Sales growth rate-Profit margin-retention ratioRetention ratio Hi! Can someone help, please with a cherry on top? refers to the process of acquiring technology from another country, especially in manufacturing, whereby skilled workers in the host country are able to learn from the technology of the foreign investor.