Common code | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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 🇮🇳