Answer:
The program in Python is as follows:
valCount = int(input())
reports = []
for i in range(valCount):
num = int(input())
reports.append(num)
for i in reports:
print(i,"reports.")
Explanation:
This gets input for valCount
valCount = int(input())
This creates an empty list
reports = []
This gets valCount integer from the user
<em>for i in range(valCount):</em>
<em> num = int(input())</em>
<em>Each input is appended to the report list</em>
<em> reports.append(num)</em>
This iterates through the report list
for i in reports:
This prints each element of the report list followed by "reports."
print(i,"reports.")
<span>Follow the following steps to open "Revenue.xls":
Step 1:
Open Microsoft Excel.
Step 2:
Click on the "File" button (at top left).
Step 3:
When you click on the File button, the list will pop up which will contain the option "Open."
Click "Open".
Step 4:
Now select the "Revenue.xls" file and open it!
That's it! :)</span>
The answer to your question is A. blogs
Answer:
The correct program to this question as follows:
Program:
//header file
#include <stdio.h> //include header file for using basic function
int main() //defining main method
{
int amountToChange=19,numFives,numOnes; //defining variable
numFives = amountToChange/5; //holding Quotient
numOnes = amountToChange%5; //holding Remainder
printf("numFives: %d\n", numFives); //print value
printf("numOnes: %d\n", numOnes); //print value
return 0;
}
Output:
numFives: 3
numOnes: 4
Explanation:
In the above program first, a header file is included then the main method is declared inside the main method three integer variable is defined that are "amountToChange, numFives, and numOnes", in which amountToChange variable a value that is "19" is assigned.
- Then we use the numFives and the numOnes variable that is used to calculate the number of 5 and 1 , that is available in the amountToChange variable.
- To check this condition we use (/ and %) operators the / operator is used to hold Quotient value and the % is used to hold Remainder values and after calculation prints its value.
Answer:
Session hijacking
Explanation:
Session hijacking : Session hijacking is an attack where a user session is taken over by an attacker. A session starts when you log into a service, for example your banking application, and ends when you log out.