Computer Science, asked by aditichauhan69, 1 year ago

write a program to input 10 integers and find the average of those numbers which are odd

Answers

Answered by Amitaritro
2

import java.util. Scanner;

public class Integers

{

public static void main()

{

Scanner sc = new Scanner ( System.in );

System.out.println ("Enter 10 Integers :");

int a= sc.nextInt ();

int b=sc.nextInt();

int c= sc.nextInt();

int d


Similar questions