Can you give me an example of this "if the sum of the three given digits is divisible by 2 or not."? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Can you give me an example of this "if the sum of the three given digits is divisible by 2 or not."?

Write an algorithm: 1.To input a number of integers n and get the sum. To construct, use loop statement. 2.For given 3 digits, apply the rule that if the sum of the three given digits is divisible by 2 or not.

20th Sep 2022, 12:03 AM
KarlTzy Bren
1 Answer
+ 1
Attempts?
20th Sep 2022, 7:12 AM
A͢J
A͢J - avatar