What's wrong? JAVA code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's wrong? JAVA code

import java.util.Scanner; public class Program { public static void main(String[] args) { //your code goes here Scanner sc = new Scanner(System.in); double bill = sc.nextDouble(); System out.println(bill * 15 / 100); } }

12th Jun 2023, 11:58 AM
Haju Kox
Haju Kox - avatar
1 Answer
+ 4
You are missing a dot between System and out.
12th Jun 2023, 12:20 PM
Jan
Jan - avatar