Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Navid Taheri
Added: Feb 14, 2021 7:26 AM
Views: 6
Tags: no tags
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package com.sigmaboard;
  7.  
  8. import java.util.Scanner;
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. /**
  19.  *
  20.  * @author sigma
  21.  */
  22. public class Main {
  23.     public static void main(String[] args){
  24.     Scanner scanner = new Scanner(System.in);
  25.       String input = "";
  26.       while(!input.equals("quit")){
  27.           System.out.print("input :");
  28.           input = scanner.next().toLowerCase();
  29.           System.out.println(input);
  30.          
  31.          
  32.       }
  33.      
  34.    
  35.        
  36.     }
  37.    
  38. }
  39.