Answer:
The output of the given code as follows:
<u>Output:
</u>
1122
Explanation:
In the given java code the two for loop is defined, which can be described as follows:
- In the first loop, a"loop" variable is used, which starts from 1 and ends when the value of loop is less than 3, inside the loop a print function is used, that print value 1.
- In the next step, another for loop is declared, inside the loop a variable "loop2" variable is used, that's working is the same as the above loop, but in this loop, it will print a value, that is 2.
Answer:
B. #VALUE
Explanation:
Occurs if one of the variables in your formula is of the wrong type (e.g. text value when a numeric value is expected).
Answer:
day = input("Enter today's day numerically: ")
if "15" in day or "30" in day:
print("It's payday!")
else:
print("Sorry, not a payday.")
Explanation:
Ask the user what day it is and store it in a variable called, day. Write a simple if else statement to check if ut is payday or not. This program can be more advanced by having payday be a variable.
Copy and paste a sentence or a paragraph and search it and usually that site the person copyrighted it from will pop up, and/or if it's a image, it was have a name on it somewhere in the corner.
Your answer is packet switching, hope I could help
Have a great day :)