For this assignment, you will create a file, write information to the file, retrieve information from that file, and do calculations of the information from the file.

Make sure to comment code and use functions to break the problem up into manageable pieces.

Assignments
1. Open a Numbers.txt file. Write the numbers from 0 to 100 to the file.
2. Read the file Numbers.txt and find the sum, average, and median of all the numbers.
3. Output the results to the screen in a user-friendly format.
4. Make sure to ask the user for all the paths.

**C++ ONLY**

Answers

Answer 1

Answer:

Why only c bro


Related Questions

What is the purpose of this parallelogram shape in a flowchart? O decision process o input or output start or end​

Answers

Answer:

The parallelogram shape's purpose in a flowchart is output or input

The diamond shape in a flowchart  is for decision

The rectangular shape in a flowchart is for process

and the rounded rectangular shape (oval) is for start or end

Explanation:

I got 100 on the test

The main purpose of a parallelogram shape in a flowchart is: input or output.

A flowchart is also referred to as flow diagram and it can be defined as a graphical representation of an algorithm for a work process or workflow.

Basically, a flowchart make use of the following standard symbols to graphically represent the sequential steps that are associated with a system, work process or workflow i.e from the beginning (start) to the end (finish):

ArrowsRectangleDiamondOvalParallelogram

In conclusion, the main purpose of a parallelogram shape in a flowchart is to graphically represent the input or output into a system, work process or workflow.

Read more on flowchart here: https://brainly.com/question/6532130


Using a USB flash drive, you intend to install Windows 10 on several computers. To save time, you would like to automate the
installation of Windows 10 for each computer. What should you do?
Create an answer file named install.wim. Place the file on a USB flash drive and run setup.exe.
Create an answer file named unattend.xml. Place the file on a USB flash drive and run
setup.exe.
O Create an answer file named config.xml. Place the file on a USB flash drive and run setup.exe.
Create an answer file named automated.exe. Place the file on a USB flash drive and run
O automated.exe.
Mark this question for review

Answers

Answer:

Create an answer file named config.xml. Place the file on a USB flash drive and run setup.exe.

Create an answer file named automated.exe. Place the file on a USB flash drive and run

Bob flys a drone which has a 20 megapixel camera attached, what is the definition of "megapixel in this context? Why does it matter?

Answers

Answer:

megapixel refers to the unit of resolution i.e. one million

Explanation:

Interestingly the higher the pixels does not mean higher quality of image, it's more about the camera and it's sensor.

I am a photographer and a licensed drone pilot and have researched the subject to help with camera choice, both DSLR and drone.

Which is an example of an effective study skill?

Answers

Answer:

organisational skills, time management, prioritising, learning how to analyse, problem solving, and the self-discipline that is required to remain motivated.

Explanation:

Public static String doSomething(String s) { final String BLANK = " "; //BLANK contains a single space String str = ""; //empty string String temp; for (int i = 0; i < s.length(); i++) { temp = s.substring(i, i + 1); if (!(temp.equals(BLANK))) str += temp;
}
return str;
}
Which of the following is themost precise description ofwhat doSomething does?
A. It returns a String that contains s.length() blanks.
B. It returns s with all its blanks removed.
C. It returns s unchanged.
D. It returns a String that is equivalent to s with all its blanks removed.
E. It returns a String that is an exact copy of s.

Answers

Answer:

D. It returns a String that is equivalent to s with all its blanks removed

Explanation:

What is the name of a coding sequence that is executed multiple times in a program?

Answers

Answer:

Loop, or Iterator

Explanation:

For example, a "for" loop or a "while" loop to create a block of code that will execute a certain number of times.

Answer:

C - a loop

Explanation:

on edge pls mark brainiest

general requirements for tools and equipment maintenance

Answers

Explanation:

Clean, Inspect and Care for Tools. Make it a habit to clean tools after each use before you return them to storage. Wipe them down with a rag or old towel and be sure they are free of dust, grease and debris before you put them into their proper places.

The reason for prioritizing your work is to get the
a. Most important jobs done
b. Smallest jobs done
c. Quickest jobs done
d. Least important jobs done

Answers

Answer:

a

Explanation:

Answer:

a. Most important jobs done

Explanation:

Which feature allows an Excel 2016 user to visualize data on a map by plotting geographic and temporal or time-related data on a globe or custom map? 3-D map grid graph time lapse real-time data

Answers

Answer:

3-D MAp

Explanation:

Answer:

3-D MAP they were correct

Explanation:

In Microsoft PowerPoint, a _____ gives viewers a visual image of data, such as a line graph or a three-
dimensional bar graph, instead of just numbers listed in a table.

Answers

Answer:

chart

Explanation:

on edg

Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number of integers that follow. Ex: If the input is: 5 2 4 6 8 10 the output is: all even Ex: If the input is: 5 1 3 5 7 9 the output is: all odd Ex: If the input is: 5 1 2 3 4 5 the output is: not even or odd Your program must define and call the following two functions. is_list_even() returns true if all integers in the list are even and false otherwise. is_list_odd() returns true if all integers in the list are odd and false otherwise. def is_list_even(my_list) def is_list_odd(my_list)

Answers

Answer:

def is_list_even(list):  

 return all((x % 2) == 0 for x in list)  

def is_list_odd(list):

 return all((x % 2) == 1 for x in list)  

numberList = []  

n = int(input("Enter number of elements : "))  

for i in range(0, n):  

 numberList.append(int(input()))

if is_list_even(numberList):

 print("all even")

elif is_list_odd(numberList):

 print("all odd")

else:

 print("not even or odd")

what is arts and creativity literacy in your own idea​

Answers

Answer:

Art is the skill that include skill and Talend to create fine painting, drawing and sculptures creatively is the skill of using your imagination to create and solve

Explanation:

Art includes painting, drawing and sculptures

And you do not need to be creative to de and artist or be an artist to create a stuff

Global visibility is: Group of answer choices A visibility type where an object A has a semi-permanent reference to another object B through a class-level field. The visibility persists as long as both A and B exist. A visibility type where an object A receives a reference to an object B as an argument to a method of A. A visibility type where an object A has visibility to B via a singleton or other construct where B can be accessed in any context. The visibility persists as long as both A and B exist. A visibility type where an object A has a reference to an object B within a method of A as a newly declared variable.

Answers

Answer:

the visibility persists as long as both A and B exist.

Explanation:

Global visibility basically means that the visibility persists as long as both A and B exist. In programming global visibility signifies that the variable/data in question is visible from any context of the code. Meaning that it can be accessed and manipulated from any part of the code, even from within a function or another document. This makes it very easy to use and structure accordingly.

Why is it important to test a spreadsheet?

Answers

Answer:

The chief aim of regression testing is to check that the results have not been altered by changes to the spreadsheet, or, where they have altered, to investigate the effects of the changes. It is important when adding new functionality to a spreadsheet, to make sure that the existing functionality is not affected.

Explanation:

What common feature of well-made web apps helps them stand out from static email advertisements?

Answers

Answer:

For the test, I litterally came here while taking it and couldn’t find an answer, I got a horrible 70.. but all I know it’s not C or D

Explanation:

I took the test, sorry I don’t have an actual answer

Relationship building at work can...

Answers

Help with how y’all work together at your job and a personal relationship between you and your coworkers

Match each HTML tag to its function.





defines a new paragraph
defines a single line break
defines a heading style
defines a row in a table

Answers

Answer:

<p></p> is a new paragraph

<br> is a line break

h1: defines new heading style

<tr> defines new row in a table

what is the use of router ?​

Answers

Answer:

A router is a networking device that forwards data packets between computer networks. Routers perform the traffic directing functions on the Internet. Data sent through the internet, such as a web page or email, is in the form of data packets.

Explanation:

You have a small company and want to keep your costs low, but it is important your employees share data. Which network would provide you with the most economical solution?

Centralized
Client server
GUI
Peer-to-peer

Answers

centralized is the correct answer

This is a grade determination python script. Can anyone tell me why this gives an error when ran?

Answers

From the looks of it, you need to get rid of the spaces before the if, elif, and else statement along with the code blocks inside those statements. They're all improperly indented.

If images around the edges of a monitor do not look right, the computer might have a(n)

access problem.
hardware problem.
Internet problem.
software problem.

I will give brainiest to best answer

Answers

Answer:

it would be a software problem.

Explanation:

this is because when your computer crashes, the software all "explodes" and resets.

Hardware Problem

If a manufacturer damaged something, it can cause issues that the software can not interpret. For example the screen is damaged. The pixels could be damaged on the screen and most likely not the fault of a software.

What does the Java Virtual Machine seek first?

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The Java Virtual Machine seek first class loader, where this machine load, link and initialize the classes.

However, at the architecture level, when you are running java code in different machine/operating systems, it will seek first firewall.

Is there truth? Does truth exists?

Answers

Answer:

Yes

Explanation:

Hes name is Jesus Christ. He died for me and you. and loves you very much!

Yes there is truth and it exsists

what would you call yourself if you were a shinobi

Answers

Answer:

someone really deleted my previous answer to this wow...

Explanation:

What is Sleep mode? Check all of the boxes that apply.

It is a power-saving mode for a computer.

It puts your work and computer settings in memory while using little power.

It is a power-saving mode designed for laptops.

It is the same thing as Hibernate mode.

Answers

Answer:

A and B

Explanation:

got it right on edge 2020

Answer:

“It is a power-saving mode for a computer.” and “It puts your work and computer settings in memory while using little power.”

Explanation:

A married man gets a new job in a company. After three months, he meets a younger woman in the finance department and they begin having an affair. The affair carries on openly in the workplace over the course of 6 months, then begins to sour when she discovers that he is already married. The relationship quickly changes to bickering and name-calling while at work. The woman eventually breaks off the relationship, quits her job, and sues the company for fostering a hostile work environment. Of the seven IT infrastructure domains, the USER domain was most at risk.

a. True
b. False

Answers

Answer:

False ( B )

Explanation:

Of  the seven IT  infrastructure domains The USER domain was not at risk because the User Domain is not task with handling the sharing of data or Mutual communication between users in a Typical IT infrastructure.

The domain charged with such responsibility is The LAN domain because the LAN domain is charged with the sharing of information between the USERS and maintaining good mutual communication, and since the relationship has become sour, the sharing of information between the users will suffer the most and it will be at a high risk

9. Which of these is not a factor in password management?
A. Confidentiality
B.Expiration
C. Guest
D. Complexity

Answers

Answer:

I don't really know but I think it's guest

I NEED HELP PLEASE ITS TIMED

Answers

Answer:

Ellipse

Explanation:

function draw() {

 background("white");

 noFill();

 ellipse(200, 200, 200, 100);

 //            ↑       ↑       ↑      ↑

 //     posx posy length hieght

 drawSprites();

}

https://studio.code.org/projects/gamelab/Y476cgGC5lsXag4wVEWkMbdpu1ICsHiy7_g7VZj2MwA

Question 4: What will be the output of the code? Show a complete analysis.

#include
int main(void)
{
int A[3][3]={{1,4,3},{6,2,4},{-3,8,2}};
int s;
for(int i = 0; i<=2; i++)
{
S = ALOIi]+A[111]+A[21i];
printf("%d",s);
}
return 0;
}

Answers

Answer:

The output of the code is 8

What effect does SEO have on your search?

Answers

Answer:

check explaination

Explanation:

so in short SEO (search engine optimisation) has an effect on searching the internet in many ways.

Promoted websites that have paid to be put at the top of search engine results may entice you to go to them for answers but in reality do not hold the answers. View/interaction ratios can cause a website to be placed lower on the grading of websites that are shown, many times being placed many pages back on a google search content filtering, if a website contains 18+ or NSFW materials it may be removed / hidden from the top of search engines to prevent children and minors from seeing unwanted content.
Other Questions
In an efficient market, the price of a security will: _____________ a. always rise immediately upon the release of new information with no further price adjustments related to that information. b. eact to new information over a two-day period after which time no further price adjustments related to that information will occur. c. rise sharply when new information is first released and then decline to a new stable level by the following day.d. react immediately to new information with no further price adjustments related to that information. How do I make element symbols? Under what circumstances, if any, do you think a citizen in a representative democracy has the right to engage in civil disobedience? Explain your position. During his leg of the run, Shannon developed hypothermia, a dangerous condition caused by extreme cold. Normal body temperature is 98.5F. During hypothermia, it falls by at least 3.5. If his temperature dropped by that amount, what was Shannons body temperature with hypothermia? advertisement writing about mobile phone , I will make you brainly if you answer my question Global sociocultural environments (Connect, Perform)Complete the following sentences about sociocultural differences with the correct term.The historical tendency in Canada for English speakers to be impatient with French speakers and vice versa is an example of , or peoples natural (but avoidable) tendency to feel their culture is superior to others.When a company does business in a country like China with a , managers should expect people there to prioritize the future over the present and value thriftiness and persistence. However, when doing business in a country with a , such as Russia, managers need to recognize that people there will value tradition and prioritize social obligations.Which of the following companies has high power distance?a) At Sabine Industries, the CEO is seen as the undisputed leader of the office. People are afraid to correct him when he is wrong, and he is always addressed as Mr. CEO, while the people who report to him are addressed by their first names.b) At Jupiter Jumpers, teams make decisions together, and everyone in the company is called an associate. The employees and managers often get together to socialize outside of work, and they can be heard laughing and talking over each other while they have drinks together.c) At Sollient, managers listen carefully to employees when they raise concerns or questions, and employees are not afraid to speak up. Employees expect to be treated equally and fairly.Which of the following companies has high femininity?a) Quality of life is important at Social Science Systems. All employees are eligible for child care, elder care, or pet care services, and employees can take as many vacation days as they need, as long as they get their work done. Employees regularly cooperate with each other to cover difficult or undesirable work shifts.b) Pomdel Media is the place to go if you want professional film editing, fast and error-free. Everyone at Pomdel has heard about Hal, an almost mythical figure, who once stayed up for 3 days straight to get a job finished before the deadline. At Pomdel, you had better know how to do your job and do it well. Theres a lot of autonomy but a lot of responsibility, too.c) At Acme Accounting, performance comes first. Dont bother showing up for work if you are in the bottom 10% of the sales force at the end of the year. Frank Fitzgerald, the CEO of Acme, makes sure that only the best salespeople stay with the company from one year to the next.Which of the following companies has long-term orientation?a) Riesa Corporation is focused on making a profit quickly. Sales results are reviewed weekly, and if a new product doesnt turn a profit in 6 months, production is stopped and resources are moved to a different product.b) Petrov is a farmer in Russia. He often thinks of the good old days when his neighbors gathered together to help each other, and the old traditions were upheld. Today, it seems like everything is changing, but as long as this years wheat crop is good, things will be okay.c) Hikooki Flight is a Japanese plane manufacturing company. Mr. Hikooki is a planner, and he knows what the company will be doing 25 years from now. He is constantly reminding his employees about the importance of creating efficient and reliable products so that the company does not need to do rework. Identify the group of people who lived in North and South America before the arrival of Europeans in 1492.A.The Vikings B DruidsC.HutusD Native Americans Analyze the chart below and then answer the follow question. In 2020, how does the percentage of the population with access to drinking water facilities in North America compare to that of the World?Question options:Compared to the average population around the World, North America has a 24% greater percentage of people with access to safely managed drinking water.Compared to the average population around the World, North America has a 98% greater percentage of people with access to safely managed drinking water.Compared to the average population around the World, North America has a 16% greater percentage of people with access to safely managed drinking water.Compared to the average population around the World, North America has a 74% greater percentage of people with access to safely managed drinking water. plss help me plss #4 which expression represents half of a number,n,plus 3? Answer question 51 please 1/4 divided by 11.5 Help! At a particular school 20% of children travel by bus.If this represents 280 children, how many children attend the school? m=1/2 and the y intercept is (0,-5) what is the equation of the line in slope intercept form What is the x and y ?????????? How is the legislative branch organized according to the Constitution? (3 points)It is divided into the Senate and the House of Representatives.It is divided into three different levels.It is under the control of the president.It controls the Supreme Court. wich one right please help me is it 1 2 3 or 4? What do property tax and sales tax have in common Help please. Will mark brainiest! PLZ HELP FAST The amount of water in a tank is taken out of the tank by the equation g = -20h +100, when g represents the number of gallons of water left in the tank and h represents the number of hours that have passed by. How many gallons of water are left in the tank after 3.5 hours? Type your answer in the box provided. which statement best characterizes lines 1-4 (Thyhand)