write a program to input 10 integers and find the average of those numbers which are odd
Answers
Answered by
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
Economy,
7 months ago
Math,
7 months ago
Hindi,
7 months ago
Math,
1 year ago
Psychology,
1 year ago