Page 1 of 1

in c language as fast as possible 1) write a program to find the smallest digit in a given number(intiger) eg: input: 13

Posted: Wed Mar 30, 2022 9:23 am
by answerhappygod
in c language as fast as possible
1) write a program to find the smallest digit in a given number(intiger)
eg: input: 13280
output: 0
2) write a program which will take integer as input this number represents quality in liters print out the equivalent quantity in gallons and ounces given to an accuracy of one decimal place using functions
hint: 1 l = 0.26172 gallons, 1 l= 33.814 ounces
eg: input: 7
output: 236.6