Skip to content

Instantly share code, notes, and snippets.

View javadovjavad's full-sized avatar
🏠
Working from home

Javad javadovjavad

🏠
Working from home
View GitHub Profile
public class Branching {
public static void main(String[] args) {
disifade:
for (int i = 0; i < 100; i++) {
for (int j = 0; j < 50; j++) {
import java.util.Scanner;
import javax.print.DocFlavor.INPUT_STREAM;
public class SwitchIfadesi {
public static void main(String[] args) {
System.out.println("Menyudan secim edin:");
System.out.println("1.Magazalar");
public class DizilerArrays {
public static void main(String[] args) {
int tamsaylar[] = new int[5];
for (int i = 0; i < tamsaylar.length; i++) {
System.out.println("index: " +i+" deyer: "+tamsaylar[i]);
}
import java.util.Scanner;
public class DordIslem {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
System.out.println("Ne etmek isteyirsiniz?");
System.out.println("1.Vurma, 2.Bolme, 3.Toplama, 4.Cixma");
public class For {
public static void main(String[] args) {
for (int i = 1; i < 1; i++) {
System.out.println(i);
}
//break & continue
import java.util.Scanner;
public class IfKontrolleri {
public static void main(String[] args) {
System.out.println("yasinizi daxil edin:");
Scanner sc = new Scanner(System.in);