Search:

Type: Posts; User: gotdatdough

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    872

    Re: Average Won't Work

    Why won' the average work? when i enter 10 for the first number, then 20 for the second number, it returns an average of 5.
  2. Replies
    5
    Views
    872

    Average Won't Work

    import java.text.DecimalFormat;
    import java.util.Scanner;
    public class Average {
    public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int value, count = 1, sum =...
Results 1 to 2 of 3