Answers:
What is the question?
So, what is your question? There is no need submit the assignment.
Problem: To check whether given number is even and also multiple of 11.
Hint for Solution:
Step 1: Check divisibility of the number by 2, using if statement.
Step 2: Inside if block of step 1, write another if statement to check divisibility by 11. Writing if block in another if block will check divisibility by 2 and 11 both.
Step 3: Inside if block of step 2, write print statement saying the number is even and also divisible by 11.
Step 4: In the corresponding else blocks of both if statements, write print statement saying the number is not even and also divisible by 11.
Login to add comment