Computer Science, asked by AnustupMukherjee, 7 months ago

WAP in java , using loop , to input a number and display the average of all it's digits​

Answers

Answered by gyadav30122000
0

Explanation:

However if you are not taking input from user then you can declare the data type based on the number value, for example if you want to find out the average of three integer numbers then you are declare num1, num2 & num3 as int but you have to use double as the return type of the avr method because the average of 3 integer

Similar questions