Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { int wybor; int tab[]=null; Scanner klawiatura=new Scanner(System.in); do { System.out.println("PROGRAM - TABLICE"); System.out.println(); System.out.println("1. Stwórz tablice"); System.out.println("2. Wprowadź liczby do tablicy zaczynając od n"); System.out.println("3. Wypelnij tablice od m"); System.out.println("4. Wyświetl liczby"); System.out.println("5. Wyświetl liczby parzyste"); System.out.println("6. Wyświetl liczby nieparzyste"); System.out.println("7. Wyświetl posortowane liczby"); System.out.println("8. Wyświetl sumę"); System.out.println("9. Zmień rozmiar"); System.out.println("10. Koniec"); System.out.println(); System.out.print("Twój wybor: "); wybor=klawiatura.nextInt(); switch(wybor) { case 1: int wielkosc; System.out.print("Podaj wielkosc tablicy: "); wielkosc=klawiatura.nextInt(); tab=new int[wielkosc]; System.out.println(); break; case 2: int n; System.out.print("Podaj n: "); n=klawiatura.nextInt(); for (int i=0; i
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)