Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1835


Is that possible to store 32768 in an int data type variable?

1082


What are the application of void data type in c?

1191


Write a program to reverse a given number in c language?

1119


What is the difference between fread and fwrite function?

1086


What is enumerated data type in c?

1085


What is the usage of the pointer in c?

1139


Why should I prototype a function?

1201


What are control structures? What are the different types?

1094


What is difference between union and structure in c?

1167


What is function pointer c?

1117


Are there any problems with performing mathematical operations on different variable types?

1040


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1439


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

1121


Between macros and functions,which is better to use and why?

2228