Computer Science, asked by sanjana94572, 5 hours ago

write a program in java to input five numbers and find and print their sum and average​

Answers

Answered by Anonymous
4

Answer:

Write a Java program to input 5 numbers from keyboard and find their sum and average

import java.util.Scanner;

public class JavaExcercise {

public static void main(String[] args)

{

int i,numbers=0,sum=0;

double avg;

{

println("Enter any 5 numbers : ");

Similar questions