+ 1

What is the mistake in my code

The tell me package system doesn't exist import java.util.Scanner; class Main { public static void main(String[] args) { Scanner read = new Scanner(System.in); int num1 = read.nextInt(); int num2 = read.nextInt(); //your code goes here double p= Math.pow(num1 , num2); ststem.out.println (p); } }

21st Mar 2021, 10:22 AM
hossin Chorfi
hossin Chorfi - avatar
5 ответов
+ 1
Capital S in System.out.println(); Read carefully... java is case sensitive
21st Mar 2021, 12:04 PM
Jayakrishna 🇮🇳
+ 2
Spelling mistake in System.out.println(p); not 'stsment'
21st Mar 2021, 10:25 AM
Jayakrishna 🇮🇳
+ 1
When I run it ,They tell me system package doesn't exist
21st Mar 2021, 11:59 AM
hossin Chorfi
hossin Chorfi - avatar
+ 1
Thank you bro😘
21st Mar 2021, 12:11 PM
hossin Chorfi
hossin Chorfi - avatar
+ 1
You're welcome..
21st Mar 2021, 12:15 PM
Jayakrishna 🇮🇳