5. Write a C program to check if a number has three consecutive 6s.
If yes, print YES, else print NO.
Example#1:
Number: 353664
Result: NO
Example#1:
Number: 346669
Result: YES
Answers
Answered by
0
Explanation:
Attention reader! Don’t stop learning now. Get hold of all the important mathematical concepts for competitive programming with the Essential Maths for CP Course at a student-friendly price. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.
hope it helps
Similar questions
India Languages,
4 days ago
English,
4 days ago
Math,
4 days ago
Social Sciences,
9 days ago
English,
9 months ago
Social Sciences,
9 months ago
Science,
9 months ago