write a program for the normal snake games find in most of
the mobiles.
No Answer is Posted For this Question
Be the First to Post Answer
a 'c' program to tell that the set of three coordinates lie on a same line
What is union and structure in c?
program to find a smallest number in an array
Difference Between embedded software and soft ware?
What does c mean in basketball?
What does a pointer variable always consist of?
What is void main ()?
Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?
write a program to add two numbers of any size.....(remember any size)
When should the const modifier be used?
25. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour continues. Find how many minutes does it take spread the rumour to 768 persons. ?
11 Answers CTS, TCS,
Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))… For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147