a. n=6
If N%2 = 0
Print "n, is divisible by 2"
Answers
Answered by
1
Answer:
Output:-
n is divisible by 2
Reason:-
6%2=0
More information:-
% returns the remainder of a number and remainder between 6 and 2 is 0 hence it prints n is divisible by 2. Else it will not print anything as else statement is not here so the statement is a if statement.
Similar questions
Chemistry,
30 days ago
Science,
2 months ago
English,
2 months ago
Social Sciences,
8 months ago
Math,
8 months ago