Computer Science, asked by mohammedasham28, 9 days ago

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 siddheshwarchavan
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