Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.67 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class celcuis {
  4.  
  5.    
  6.         public static void main(String[] args) {
  7.             String choix;
  8.            
  9.             Scanner sc = new Scanner(System.in);
  10.             int i = 2;
  11.             System.out.print("CONVERTISSEUR DEGRES CELSIUS EN DEGRES FAHRENEIT \n");   
  12.             System.out.println("**********************************************");
  13.             System.out.println("choisissez le mode de converstion : ");
  14.             System.out.println("1 - convertisseur ceslsius ");
  15.             System.out.println("2 - convertisseur fahreneit");
  16.        
  17.             if (i == 1) {
  18.                 System.out.println(" bien jouer celcuis");
  19.             }
  20.            
  21.             if (i == 2) {
  22.                 System.out.println(" bien jouer farheneit");
  23.             }  
  24.            
  25.         }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement