Code Experts
Home
Challenges
Notes
Compiler
Forum
Exam
Contact
Sign in
Sign up
Home
Challenges
Notes
Compiler
Exam
Forum
Contact
Log In / Register
Copied To Clipboard !
take two integer value from user. and then tell which number is having the highest digit average
write a program to take two integer value from user. and then tell which number
is having the highest digit average.
a.)
int num1 = 12345; :=> 3.0
int num2 = 27 :=> 4.5
num2 is having highest digit average.
b.)
int num1 = 12345; :=> 3.0
int num2 = 27003 :=> 2.4
num1 is having highest digit average.
Code :
12345 27
Total :
0 Discussion
Login
Code (Optional)
Upload Code Image (Optional)
Post Your Comment