GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Algorithms-Java/src/Problem3.java at master · professorDeveloper/Algorithms-Java Expand file tree/ Copy pathProblem3.javaMore file actions 38 lines (35 loc) · 1.08 KB / Copy pathProblem3.javaFile metadata and controls38 lines (35 loc) · 1.08 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 import java.util.Scanner; public class Problem3 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int month = scanner.nextInt(); switch (month) { case 1: {//qish System.out.println("Dekabr"); System.out.println("Yanvar"); System.out.println("Fevral"); break; } case 2: {//bahor System.out.println("Mart"); System.out.println("Aprel"); System.out.println("May"); break; } case 3: {//yoz System.out.println("Iyun"); System.out.println("Iyul"); System.out.println("Avgust"); break; } case 4: {//kuz System.out.println("Sentabr"); System.out.println("Oktyabr"); System.out.println("Noyabr"); break; } default: System.out.println("Fasl aniqlanmadi"); } } } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |