import java.util.scanner;
public class MyClass {
public static void main (String [] args ) {
Scanner input = new Scanner ();
double x = scn.nextDouble();
double y = scn.nextDouble();
double z = scn.nextDouble();
double a = x+y+z/3;
System.out.print1n("The average is : "+ a);
can anyone answer this?
Under discussion
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
5 January 2022, 14:48
42
0
Lisa
5 January 2022, 15:18
Boah, how did you now? I tried with 12, 18, 36 and it indeed resulted in 42. That's just crazy, crazy, ahhh... 😜🤪
0
Guadalupe Gagnon
5 January 2022, 16:23
😂🤣
0