Common code | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Common code

What is the use of this code ? Scanner scanner = new Scanner(System.in); int price = scanner.nextInt();

20th Apr 2022, 3:27 PM
Mohamed Behary
Mohamed Behary - avatar
1 Resposta
+ 2
Code snippet to accept an integer value as input and store in price variable. for more, Read about taking user input lesson..
20th Apr 2022, 3:34 PM
Jayakrishna šŸ‡®šŸ‡³