mirror of
https://github.com/ASDjonok/OOP_IO-2x_2023.git
synced 2025-06-07 22:49:24 +03:00
Added a Kotlin variation.
This commit is contained in:
parent
a97f742be2
commit
5ca9ab6c17
@ -3,7 +3,6 @@ import java.util.Scanner;
|
||||
public class lab_1 {
|
||||
|
||||
public static int protectedInput(String variableToRead, Scanner input) {
|
||||
int readVariable;
|
||||
do {
|
||||
try {
|
||||
System.out.printf("Enter %s: ", variableToRead);
|
||||
|
Loading…
x
Reference in New Issue
Block a user