Computer Science, asked by ravibhadauriyaravi, 9 months ago

write a program to find the maximum, minimum and mean value for the inputted list​

Answers

Answered by hritamsarkarnghss
1

Answer:

import java.util*;

class Max_Min

{

public void main ()

{

Scanner sc = new Scanner(System.in);

System.out.println( " Enter the list");

int a, b, c;

a = sc.nextInt();

b = sc.nextInt();

c = sc,nextInt()

{

if a>b && a>c

System.out.println( "Max is a");

elseif b>c && b>a

System.out.println("Max is b");

else

System.out.println("Max is c");

}// main

}//class

Explanation:

Friend , I have executed only the maximum of the list in JAVA. Just follow the same steps when to find minimum ( Use '<' instead of '>'). And fi ding mean then add all and divide by the total  no. of items in the list. Hope yo like this Friend .Pls follow me ...This is just my request to you.

Answered by akshitanegi26
0

(+_+)

(-_-)

("_")

('_')

(“_”)

(*_*)

(‘_’)

(•_•)

(°_°)

(^_^)

(`_`)

(®_®)

(©_©)

(∆_∆)

Hey mate.........

Here's your answer........

The word scientist is a general term, used to describe someone who researches and examines various aspects of the physical world in order to attain a better understanding of how things work and function. There are many specializations of 'scientist', and depending on which field of study one chooses to follow, the work can vary greatly. Each scientist, however, follows 'the scientific method', which is a strict set of rules that ensure all new discoveries are factual and not just speculation.

Hope it helps....

Leave a thank....

Make me brainliest........

AKSHITA....

# 1000 तो हम करके रहेंगे।

Similar questions