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

What does != Mean in c?

805


What is the function of multilevel pointer in c?

850


What is volatile variable how do you declare it?

778


How to get string length of given string in c?

813


What is a list in c?

800


What are the advantages of c language?

857


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1533


What is %s and %d in c?

764


What are the advantages of using Unions?

853


Is it possible to have a function as a parameter in another function?

846


Can an array be an Ivalue?

881


What does calloc stand for?

852


Which is an example of a structural homology?

1050


How do I determine whether a character is numeric, alphabetic, and so on?

873


What is the difference between constant pointer and constant variable?

976