0
Practice 6.2 2*pie
Can someone help me? Just got started yesterday and totally new.. Do you know what I am doing wrong? import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double pi = 3.14; Int sum1= new* double pi; } }
6 odpowiedzi
+ 1
You have not declared new variable
+ 1
And write small I in int
+ 1
And don't use new as a variable because it's a keyword
+ 1
https://code.sololearn.com/czBrYZyfimfo/?ref=app
This is the correct code
0
Thx Atul for the fast answer, gonna try it out
0
My pleasure