Skip to content

JuliaZimenina/Info_System_ver1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Info System (version 1)

Java Training Project

An educational project that demonstrates basic control flow operations in Java through an interactive console application.

Table of contents

  1. Description
  2. Technologies
  3. Installation and Running
  4. Author
  5. Code Example
  6. Screenshots

Description

This repository contains a Java console program that provides an explanation and syntax example of a fundamental control flow statement. The user interacts with a menu-based system and selects which operator they want to learn about.

Purpose

The project was created as a learning assistant for mastering Java basics:

  • Conditional operators

  • Loops

  • Break/continue statements

    Topics and Examples

  1. Conditional operators
  • if / else
  • switch
  1. Loops
  • for
  • while
  • do-while
  1. Branching
  • break
  • continue

Technologies

  • Java SE (version 17)

Installation and Running

  1. Clone the repository:
git clone https://github.com/YuliyaZimenina/Info_System_ver1.git
  1. Open the project in your favorite IDE (IntelliJ IDEA, Eclipse, etc.) or go to the project folder:
   cd Info_System_ver1
  1. Make sure Java 17 is set as the project SDK.
  2. Compile and run class InfoSystemDemo.java in your IDE or the command line.

Author

Yuliya Zimenina

Code Example

public class InfoSystem {
    void infoOn(int menuItem){
        switch (menuItem){
            case '1':
                System.out.println("Operator If: \n");
                System.out.println("if(condition) operator;");
                System.out.println("else operator;");
                break;
            case '2':
                System.out.println("Operator Switch: \n");
                System.out.println("switch(statement) {");
                System.out.println("  case constanta:");
                System.out.println("       sequences of operators");
                System.out.println("        break;");
                System.out.println("  // ...");
                System.out.println("}");
                break;
            // ...
        }
    }
}

Screenshots

  1. Launching the program:

Launching the program

  1. Output of information at the user's choice:

Output_1

  1. Output of information at the user's choice:

Output_2

  1. Completion of the program:

Output_2

About

Upgrad Help_system_Java_operators. Added two classes and methods

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages