#First we define the variables to house the temperatures
#temp is an empty array that will be used to store the temperature
Temp = []
#The months is defined as stated below
months = 12
#Ask the user for the temperature input and unit if possible
print("Kindly enter the temperature here")
#the program enter loop to get the temperatures.
for x in range(months):
InitTemp = str(input("Kindly add the unit behind the number .eg C for celcius"))
Temp.append(InitTemp)
j=0
for x in range(len(Temp)):
j=j+1
print("The Temperature is", " ", Temp[x], "for the ", j, "Month" )
#there is an attached photo for the flowchart
Answer:
A
Explanation:
Example: when scrolling through a list of shows, if you filter for action shows, only shows that match the action description would appear
Answer:
Program
Explanation:
Program is like a set of instructions that helps hardware process data into information.
Every hardware needs a program to process data into information.
For example take the example of a data processing software like MS Excel.
You open a spreadsheet and enter some data into your sheet. and then ask the program to do some calculations with this data and give you output results. The spreadsheet software does this processing in the background for you and provides you the results.
Without program a hardware doesn't know what to do with the data. Therefore, a program is like a instruction set that guides the hardware what to do with the data.
Note: The terms software and program are usually used together but there is a difference between software and program
A software is a generalized term and program is more like a specific term.
software can be made up of several different programs which performs many different tasks. On the other hand, a program only carry out a specific task or set of instructions.