Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Write an algorithm for a program that receives an integer as
input and outputs
the product of of its digits. E.g. 1234 = 24, 705 = 0

Answer Posted / pavithra

jus use an array to store d i/p
nd multiply the array elements

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please send me the code for multiplying sparse matrix using c

1338


All technical questions

1134


What is calloc() function?

210


Explain what is the benefit of using #define to declare a constant?

223


What is the Purpose of 'extern' keyword in a function declaration?

228






What is difference between %d and %i in c?

175


Explain modulus operator.

200


Is c programming hard?

186


How can I read data from data files with particular formats?

197


Explain spaghetti programming?

221


What is optimization in c?

152


How does #define work?

178


How do I get a null pointer in my programs?

185


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1104


Why dont c comments nest?

211