Write a program in java to accept a number from the user and display the average of the digits
Answers
Answered by
1
Answer: Check
Explanation:
import static java.lang.Float.sum;
import java.util.Scanner;
public class Average {
public static void main(String[] args)
{
int n, count = 1;
float xF, averageF, sumF = 0;
Scanner sc = new Scanner(System.in);
Similar questions