- 1

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

I tried it. Help me out

19th Jan 2021, 5:33 AM
Samriddhi sinha
Samriddhi sinha - avatar
4 Réponses
+ 4
Hello Saakshi sinha Scanner scanner = new Scanner(); Then it works.
19th Jan 2021, 5:41 AM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Posting duplicate questions won't help. https://www.sololearn.com/Discuss/2670154/?ref=app https://www.sololearn.com/Discuss/2670155/?ref=app The reason why no one is able to help you is because you are not showing your efforts about your assignments. No one will provide you the solution unless they don't want you to learn. Please show your attempt so far regarding this problem so people may help you by giving hints etc.. Thanks and Happy Coding! https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community https://www.sololearn.com/Discuss/1316935/welcome-to-sololearn-forum
19th Jan 2021, 5:53 AM
noteve
noteve - avatar
0
import java.util.Scanner; public class Program { public static void main(String[] args) {
24th Sep 2023, 5:52 PM
S115 Yadav Rahul Jagdish
S115 Yadav Rahul Jagdish - avatar
- 1
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int amount = scanner.nextInt(); int loan; //your code goes here for(int i=1;i<=3;i++) { loan =amount/10; amount-=loan; } System.out.println(amount); } }
14th Jun 2021, 9:20 AM
Dharmi Sri
Dharmi Sri - avatar