Why this program is not run in java. What I am doing wrong! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why this program is not run in java. What I am doing wrong!

import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner sc = new Scanner(

1st Oct 2019, 4:29 AM
md iqbal
md iqbal - avatar
2 Answers
+ 1
put your code in playground, then put the link here. the code you posted here is hard to see and seems incomplete
1st Oct 2019, 5:20 AM
Taste
Taste - avatar
0
You forgot the ");" and two "}" at the end
3rd Oct 2019, 10:50 AM
Odiesta Shandikarona
Odiesta Shandikarona - avatar