0
Method not find
Method not find https://code.sololearn.com/ccMp2RRxaDQb/?ref=app
3 Answers
+ 5
You're supposed to use nextDouble() with capital "D" as it uses camelCase syntax.
Also, you have some logical errors in writing if...else... conditions that you might want to check out.
+ 3
Akash Deep Deep You should remember that Java is case sensitive so here nextdouble() will be nextDouble().
And there should not be space before object calling and method calling.
System. out.println();//wrong because of space before the object out.
System.out.println(); //right
+ 2
That is capital 'd'.
in.nextDouble();
https://www.sololearn.com/learn/Java/2220/