English, asked by AmritbanikaurS, 1 month ago

adjectives in lesson alchemy of nature​

Answers

Answered by Piyushthakur1432
2

Answer:

import java.util.*;

public class prog1

{

public static void main(String arg[])

{

Scanner sc=new Scanner(System.in);

double a,b,c,d,e,s,p,avg;

System.out.println("Enter five numbers");

a=sc.nextDouble();

b=sc.nextDouble();

c=sc.nextDouble();

d=sc.nextDouble();

e=sc.nextDouble();

s=a+b+c+d+e;

p=a*b*c*d*e;

avg=s/5;

System.out.println("Sum="+s);

System.out.println("Product="+p);

System.out.println("Average="+avg);

}

}

Answered by antonyvarma739
0

Explanation:

adjectives in lesson alchemy of nature

Similar questions