+ 1
Pls help 16.2 Java watt’s wrong?
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int number = scanner.nextInt(); int fact = 1; //ваш код while (number<0){ number = number*number; number--; } System.out.println(number); } }
5 Antworten
+ 1
Thx
0
No ((