The program illustrates the use of loops and conditional statements
Conditional statements are used to make decisionsLoops are used for operations that must be repeated until a certain condition is met.The race programThe program written in Python, where comments are used to explain each action is as follows:
#This initializes the variables to 0
totalRaceTime = 0; minRaceTime = 0; maxRaceTime = 0; countTimes = 0
#This gets input for the number of race times
numTimes = int(input("Number of times: "))
#This opens a sentinel controlled loop
while countTimes < numTimes:
#This gets the race time
raceTime = int(input("Race time: "))
if countTimes == 0:
minRaceTime = raceTime
maxRaceTime = raceTime
#This determines the highest race time
if raceTime > maxRaceTime:
maxRaceTime = raceTime
#This determines the leest race time
if raceTime < minRaceTime:
minRaceTime = raceTime
#This determines the total race time
totalRaceTime+=raceTime
countTimes+=1
#This prints the highest race time
print("Maximum: ",maxRaceTime)
#This prints the least race time
print("Minimum: ",minRaceTime)
#This prints the average race time
print("Average: ",round(totalRaceTime/numTimes,2))
Read more about while loops and conditional statements at:
https://brainly.com/question/24833629
help meeeeeeeeeeeeeeeee
Answer:
The advantages include much access to photos, digital functions like games and contacts with friends, videos, and you can search questions to anything you like. Disadvantages include things like too much screen time affecting sleep, health, and other physical problems. There is also exposure to explicit content and hatred from strangers.
There are hundreds of editing software for you to try, and many are free to use and are even compatible offline. They can make content related to or look like something in a movie or can be used to make things look nicer and cooler.
how do you create 2 dimensional array with c++?
2 dimensional arrays in C++ are arrays that have 2 dimensions i.e. rows and columns
How to create the array?To create a 2-dimensional array in C++, you make use of the following syntax
data_type array_name[rows][columns];
Assume the following parameters:
The data type of the array is integerThe array name is StudentsThe array has 10 rows and 20 columns.The declaration of an array with the above properties would be:
int Students[10][20];
Read more about arrays at:
https://brainly.com/question/22364342
b) Write a program to update the rate by increasing 10% from a sequential data file "Data.dat" that store item name, rate and quantity
The update program is an illustration of the file manipulation processes, where files are read and updated
How to write the program?The program written in QBASIC, where comments are used to explain each line is as follows:
REM This opens a new file for output
OPEN "NEW.DAT" FOR OUTPUT AS #2
REM This is repeated until the end of the file
WHILE NOT EOF(1)
REM This inputs the item details
INPUT #1, N$, R, Q
REM This updates the rate by 10%
NEWRATE = R + 10 / 100 * R
REM This writes the inputs to the file
WRITE #2, N$, NEWRATE, Q
WEND
REM This closes the files
CLOSE #1, #2
REM This deletes the Data.dat file
KILL "DATA.DAT"
REM This renames the NEW.DAT to the Data.dat file
NAME "TEMP.DAT" AS "DATA.DAT"
REM The program ends here
END
Read more about file manipulation at:
https://brainly.com/question/25324400
deed of gift can be understood as:?
Answer:
a formal and legal agreement between the donor and the repository that transfers ownership of and legal rights to the donated materials.
Explanation:
a formal and legal agreement between the donor and the repository that transfers ownership of and legal rights to the donated materials.
When purchasing a security program, you must make sure that _____. Select 2 options.
it can be implemented quickly
it can be easily adopted
it hinders operational efficiency
the employees are not involved
it is complex and complicated
Answer:
1 ans 3
Explanation:
Answer:
- it can be implemented quickly
- it can be easily adopted
Explanation:
When selecting a security program to purchase, you should want to ensure its efficiency. Correct on Edge.
I hope this helped!
Good luck <3
why are images important in research assignments? A. Because they allow your work to be cited by others B. Because they can illustrate an argument C. Because they are required before having your item published in the library database D. Because they take up more space than words in a document.
Answer:
C
Explanation:
Everything else does not make sense
What app or divice has a filter that you can have blackvalk in real life
Answer:
look in app store explanation:
look in-app store
Create a file using any word processing program or text editor. Write an application that displays the files, name, containing folder, size, and time of last modification. Save the file as FileStatisits.java
Answer:
below is a Shell I have ;
1.Import java.nio.file.*;
2.Import java.nio.file attribute.*;
3.Import java.10 Exception;
4.public class FileStatistics
5.{
6.public static void main(string []args)
7.{
8.path file=
9.
paths.get("C:\\Java\\chapter.13\\TestData.txt")
10.try
11.{
12.\\declare count and then display path, file, name and folder name.
13.
14.
15.
16.\\declare a BasicFileAttributes object, then add statements to display the file's size and creation time.
17.
18.}
19.
20.catch (10 Exception e)
21.{
22.\\add display 10 Exception
23.
24.}
25.}
2. Choose four organizations in a particular industry and compare their strategies and analyze how the information system could be used for each organization to gain competitive advantage. 9.1 The first organization should follow the competitive strategy of lower cost across the industry,
The four organizations in a particular industry (Food industry) are:
Cargill Archer Daniels Midland (ADM) Company Nestle Sysco Corporation What is Low-cost strategy?The food industry is one that has been dominated by a lot of big companies. It is competitive in nature and it is advisable to have a Low-cost strategy.
This Low-cost strategy is one that helps the firm to sell its product or its service using a lower price when compared to its competitors as this will help them to have or win a competitive edge in the industry.
Learn more about Food industry from
https://brainly.com/question/11900425
In C, What is the #line used for?
The #line is mainly used to reset the line number and also the filename in the code.
What does a line in C mean?The c in code is written in lower-case. The c that has a line over it means "with".
The C preprocessor is known to be macro processor that is often used often by the C compiler to change one's program before actual compilation. This #line means that one can do any reset any line of code to an arbitrary line number or a filename that is said to have been stated by the user.
Learn more about code from
https://brainly.com/question/25605883
Does anyone who uses Visual Studios 2022 know what tool name it is for the pop up menu? Do not send me links please.
Answer:
The Commands and Menu Bar
Explanation:
Answer:
are u using a laptop? if so click the window botton if u download the visual studio code 2022 if u didnt download it use the search bar at the bottom of your screen "type here to search" and type in visual studio code 2022 and it will show up so click on it.
This is an example of what type of formula? =AVERAGE(D1:D17) A. ADDITION
B.SUBTRACTION C.RANGE D.AVERAGE
Answer:
d average
Explanation:
average as it already shows it says average
Similarities in off-site and On-site
Answer:
Off prevents the page from finding your easy search terms; basically what you search for, while On page will help you improve the quality of your newly designed web page.
▬▬▬Casual Terms▬▬▬
Off page means that you are not actively viewing a page; unlike On, it would mean the exact opposite.
▬▬▬Conclusion▬▬▬
I Hope you have a great day!
Answer:
onsite is on or at a site while offsite is away from a mail location in a place not owned by a particular organization.
The intent of a website query is to find information true or false
Answer:
the answer is true
Explanation:
obviously
The intent of a website query is to find information, is the true statement.
What is a query in a website?A user puts a search query into an online search engine to find the information they are looking for. Web searches are unique since they frequently consist of plain text and boolean search directives are infrequently utilized.
An informational query is a search when the user's main objective is to find information or an answer to a particular inquiry. When there is a desire to learn anything, the search is informational.
The actual word or group of words that a search engine user types into the search box is known as a search query or search term.
Users enter search terms into search engines to find specific results. If you were looking for information on how to build a website, for instance, you might type "how-to-make-a-website" into the search bar.
Thus, it is the true statement.
For more information about query in a website, click here:
https://brainly.com/question/30020029
#SPJ2
Mr. Hicks is setting up a wiiſed office network for 10 computers. He needs to use a network topology
devices to be added later as required. Which topology should he use?
A. Star
B.tree
C.mesh
D.ring
Answer:
C. Mesh
Explanation:
Each device will be connected to the other 9 devices, making it the best topology to use.
Hope this helps!
Answer:
STAR
Explanation:
how has education technology evolved in schools over the past years
More sophisticated software given to students
i need answer for multiple choice . Someone help me.....pls.....everyone have online?
Answer:
I believe that your correct answer to that question is C. Logistics Information System. The Logistics subsystem deals with activities such as purchasing, receiving inventory control, and distribution. This concept sometimes requires certain components of the organization to operate sub-optimally in order to achieve the maximum goals of the system.
Explanation:
I got my information for this answer from www.examveda.com. If there are any further questions, please put them below in the comments, and I will try my best to help you out. If not, please have a great rest of your day/night. :)
My computer has been running slow for a few days I’m sure it’s a virus
Answer:
You try to clean it, dipping it in water 2-3 times will be fine.
Explanation:
ha ha I'm indian boy F...
Answer:
Don't put some water on it it will be break just clean it and tell your parents to fix it if you have a money you can fix it
13. In cell B16, use the SUMIF function and structured references to display the total wins for teams in the Youth league.
Using the SUMIF function and structured references to display the total wins for teams in the Youth league is gotten as; 65
How to make use of the SUMIF Function?
The SUMIF function in excel combines a condition and a sum of the values which meets the stated condition. That is; SUMIF(row_range, condition)
From the attached image we can see the number of times youth won the league in column D. Also, we can see the total number of youth wins in column H under Total.
Thus, using SUMIF function for the total number of wins, we have;
B6 = SUMIF(SwimTeams[League], "youth",H3:H12
B6 = 21 + 16 + 12 + 9 + 7
B6 = 65
Read more about the SUMIF Function at; https://brainly.com/question/19595606
RAM is like a computer’s ______________, while a hard drive is like a computer’s ______________
Explanation:
RAM is what the computer and the applications run on and hard drive is the type of memory all your files and apps are located on
In 1972, earlier designers built the
connecting major universities. The broke
communications into smaller chunks, or
and sent them in a first come, first serve
1
basis. The limit to the amount of bytes of data that can be moved is called line capacity, or
When a network is met its capacity the user experiences
When the
network is "slowing down", what is happening is users are waiting for their packet to leave the
To make the queues smaller, developers created
packets to move
L
1
1
data
:: ARPANET
:: bandwidth
:: packets
:: simultaneously
:: queue
:: mixed
:: unwanted pauses
The exercise is about filling in the gaps and is related to the History of the ARPANET.
What is the History of the ARPANET?From the text:
In 1972, earlier designers built the ARPANET connecting major universities. They broke communication into smaller chunks, or packets and sent them on a first-come, first-serve basis. The limit to the number of bytes of data that can be moved is called line capacity, or bandwidth.
When a network is met its capacity the user experiences unwanted pauses. When the network is "slowing down", what is happening is users are waiting for their packet to leave the queue.
To make the queues smaller, developers created mixed packets to move simultaneously.
Learn more about the ARPANET at:
https://brainly.com/question/16433876
The IT staff at a hospital shares genetic information about specific patients with a life insurance company. Which ethical standard was violated?
The ethical standard which was violated by the IT staff at a hospital is: confidentiality.
What is PHI?PHI is an acronym for protected health information and it can be defined as any form of health information for a patient that mustn't be disclosed without the patient's knowledge, approval (consent) or used for the payment of health care insurance for employees.
This ultimately implies that, it is an ethical standard for all health workers to keep and protect protected health information under normal working conditions because they are confidential in nature with respect to Health Insurance Portability and Accountability Act (HIPAA).
Read more on PHI here: https://brainly.com/question/24439144
What exactly is github?
Explanation:
Hope it helps you!!Is hacking always wrong? Creating viruses?
Answer:
yes
Explanation:
Answer:
Not every “hack” is bad, and not every hacker is a criminal. In fact, many hackers secure websites and companies from malicious actors.
creating viruses is done by negative intention hackers
Networking essentials
Answer:
Gain the essential knowledge and skills required to configure, troubleshoot, manage and protect a data network.
Explanation:
[ASAP!] Which of these can be a problem for people with accessibility issues? Select 4 options.
1. using all uppercase text
2. using left-aligned text
3. putting two spaces after a period
4. flashing images
5. using an image instead of text
The answers are:
- Using all uppercase text
- Putting two spaces after a period
- Flashing images
- Using an image instead of text
Proof:
Using full capital text, inserting two spaces after a period, flashing pictures, and using an image in place of text are all accessibility issues. Options A, C, D and E are correct.
What are the accessibility issues?When providing access to the product or service, the following accessibility concerns must be taken into account:
Visual problems including color blindness or poor vision.Similar to photosensitive epilepsy, seizures.Mobility or motor problems, such as those of wheelchair users.Making information, activities, and/or surroundings understandable, relevant, and useable for as many individuals as feasible is the practice of accessibility. Architectural design is a typical instance of accessibility that we have all probably seen.
Accessibility concerns include utilizing all capital letters, adding two spaces after a period, flashing images, and replacing text with an image.
Therefore, option A, C, D and E are correct.
Learn more about the accessibility issues, refer to:
https://brainly.com/question/17351493
#SPJ2
An IT infrastructure manager is reviewing his company's computer assets, particularly the mean time to failure (MTTF) of the PC and server hard drives. The manufacturer of the hard drives typically used in the company states that the MTTF is approximately 11 years. Because servers and some high-priority workstations must operate continuously except for brief periods of maintenance, how many hours, on average, can these hard drives be expected to operate before failure
The numbers of hours, on average, can these hard drives be expected to operate before failure is 24 hours a day, also seven days a week and 365 days a year.
How many hours can Hard drive last?The total life-time of a hard disk is said to be 5 years" that is about 43,800 hours of been in constant use.
Note that a key reliability-linked criterion for the selection of storage components is based on its operating duty that is the numbers of many hours in a day a drive can be active for.
A lot of HDDs used by Enterprise-class applications are said to be optimized for constant use that is 24 hours a day, seven days a week, and 365 days a year.
Note that a Managed Service Provider (MSP) have to plan for a failure in every 1000 hours that is about 42 days.
Learn more about hard drives from
https://brainly.com/question/1558359
Use Advanced Filtering to restrict the data to only display full-time employees with at least one dependent. Place the results in cell A37. Use the criteria in the range H24:M25 to complete the function.
Answer:
Click cell H10, and enter an AVERAGEIFS function to determine the average salary of full-time employees with at least one dependent. Format the results in Accounting Number Format. Step 1: Open the excel and go to Insurance worksheet
what is the answer to 7.4.4: Length of User's Name codehs
The program that ask the user to type there first name and then print out how many letters that is in there name is as follows:
x = input("what is your first name: ")
y = len(x)
print(f"There are {y} letters in your name")
Code explanation;The code is written in python.
Firstly, we store the users name in the variable x.Then, we find the length of the users inputted name and store it in a variable y.Finally, we print the length of the users name using the print function.learn more on python here: https://brainly.com/question/26738945
A new robot is created to explore volcanoes on other planets. Which robot is
most likely to have been referenced in the design of the new robot?
A. Dante
B. Roomba
C. ASIMO
D. Sophia
Answer:
A
Explanation: Dante II is a unique walking robot that provides important insight into high-mobility robotic locomotion and remote robotic exploration. Dante's uniqueness stems from its combined legged and rappelling mobility system, its scanning laser rangefinder and its multi-level control scheme.