for num in range(4):
print(num)
The output will be:
0
1
2
3
The for loop iterates through the numbers in the range function and prints those same numbers to the console.
Answer:
a reverse chronological journaling site. a user-collaborated content site, typically text in nature
Explanation:
It is the website that is based on knowledge. It is the text based site that is also called structure content.
The most common example of Wiki is Wikipedia.
The answer from the given option is "D", "<span>OSHA covers all categories of business and industry".
OSHA stands for </span>Occupational Safety and Health Administration, which is an agency of the United States Department of Labor. The four categories of business and industry that are covered by the standards are general industry, maritime, construction and agriculture. So the the answer from the given options is D, because a, b and c are included in the categories.
Answer:
int main()
{
int number;
printf("Enter a number: ");
scanf_s("%d", &number, sizeof(number));
for (int i = 1; i <= 2; i++) {
printf("%d*%d=%d\n", number, i, number * i);
}
}
Explanation:
I used the safe scanf_s() that takes a third parameter to indicate the size of the buffer. In this case it is the size of an integer.
See the attachment, if I copy if it into the Response field it gets all jumbled. Rename it to elevator.java