El-Bash Software Engineer

El-Bash Software Engineer

Share

28/11/2023

public class Average { public static void main(String[] args) { double[] numArray = { 45.3, 67.5, -45.6, 20.34, 33.0, 45.6 }; double sum = 0.0; for (double num: numArray) { sum += num; } double average = sum / numArray.length; System.out.format("The average is: %.2f", average);
}
}

Want your business to be the top-listed Business in Katsina?
Click here to claim your Sponsored Listing.

Website

Address


Student
Katsina