Answer:
0
Explanation:
The statement, print(8 % 4) will produce the output 0 ;
The print statement is an inbuilt function which is used to output a typed string or display result of a Mathematical calculation and so on.
The expression in the print statement gives 0;
8%4 means, the remainder when 8!is divided by 4 ; 8 /4 gives 2 without a remainder. Meaning that :
8%4 = 0
Hence, print(8 % 4) = 0
Answer:
Step 1 : Start
Step2 : Input first number, num1
Step3 : Input second number, num2
Step4 : product - - > num1 * num2 (product of num1 and num2)
Step5 : Input product, myanswer
Step6 : comparison - - - > correct or incorrect based on myanswer and product
Step6: print(comparison)
Step7: End
Explanation:
Algorithm is a sequence of instructions a computer is expected to follow to solve a particular problem.
Required :
Two inputs ; num1 and num2
Expected output
Algorithm :
Step 1 : Start
Step2 : Input first number, num1
Step3 : Input second number, num2
Step4 : product - - > num1 * num2 (product of num1 and num2)
Step5 : Input product, myanswer
Step6 : comparison - - - > correct or incorrect based on myanswer and product
Step6: print(comparison)
Step7: End
The two numbers to multiply are entered ; the product is calculated by the program ; the the user inputs his or her own expecteted product ;
Both are compared and the output of the comparison is displayed (either correct oe incorrect)
I believe it is the first one, i did some research for this question
Full question attached
Answer and Explanation:
1. There’s need to ask for help and advice from people who have the
knowledge and skills in making a simple electrical gadget.
2. Adapter is used to plug appliances that are far from the main power source.
3. Do not touch the metal pipes while you are doing electrical repairs.
4. Shut off the power at the main switch or circuit breaker and unplug the equipment when working on electricity.
5. Pliers are tools used to grip, pull or cut electric wires.
From the above, we have corrected some of the errors that could be made in everyday home appliances or home electricity. In number 4, it is also worthy of note that shutting off power at the main switch will only require emergency situations otherwise we need only shut off the one for the problem circuit and leave the rest.
Which table option automatically adjusts column widths to fit cell content?
autofit contents