import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    
    public static void main(String[] args) 
    
        // System.out.println("Hello world!");
    {
        
    
    /* Scanner scn = new Scanner(System.in);
     
     float a = scn.nextFloat();
     
     double G = a ;
    
     G=w=x=y=z;
     w += x -= y *= z %= 20;
    
     System.out.print("W is = " + w + ";" + " X is = " + x + ";" + " Y is = " + y + ";" + " Z is = " + z + ";" );
    */
 
        // Scanner scn = new Scanner(System.in);
        
        // String a = scn.nextStr();
        // String b = scn.nextStr();
        // String c = scn.nextStr();
        
        // System.out.println(a);
        // // System.out.println(10);
        // System.out.println (++a + b++);
        // System.out.println (++b + ++c);        
        // // System.out.println (++a + ++b + c + a*b*c);
        // //System.out.println(12 + 56 + 5 + 12*56*5);
        // // System.out.println(++b + c*b);
        
        
        
       /* 
       
        Scanner scn = new Scanner(System.in);
        
        System.out.println("Dear Customer,");
        System.out.println("Greetings of the day.");
        System.out.println("");
        System.out.println("Thank You for reaching out to HP PL30 Technical Support Team.");
        System.out.println("");
        System.out.println("We understand that you have purchased a new HP DJ Product, for which you need installation support through engineer visit registering a new complaint.");
        
        System.out.println("We appreciate you for doing business with HP and we will ensure to extend the best of the support that is possible.");
        System.out.println("In order to arrange onsite visit, we request you to share the below requested information as is:");
        System.out.println("");
        
        System.out.println("Same is required for registering a complaint and to arrange and onsite engineer visit.");
        System.out.println("");
    
        // Case Logging Template:
        
        System.out.println("Plotter Case Logging Template:");
        System.out.println("");
        System.out.println("User Name                           : ");
        System.out.println("Company Name                        : ");
        System.out.println("User Contact Number                 : ");
        System.out.println("User Alternate Contact Number       : ");
        System.out.println("User Email ID (for communication)   : ");
        System.out.println("User Address Details                : ");
        System.out.println("");
        
        System.out.println("Product Information Template        : ");
        System.out.println("");
        System.out.println("Serial Number                       : ");
        System.out.println("Product Number                      : ");
        System.out.println("SN Snapshot                         : Yes / No ");
        System.out.println("Copy of Invoice attached            : Yes / No ");
        System.out.println("Carepack Purchased                  : Yes / No ");
        System.out.println("");
    
        // System.out.println("Details Shared for Logging PL30 Installation Case:");
        System.out.println("");
        String a = scn.nextLine();
        String b = scn.nextLine();
        int c = scn.nextInt();
        int d = scn.nextInt();
        String e = scn.nextLine();
        String f = scn.nextLine();
        
        // System.out.println("Details Shared for Logging PL30 Installation Case:");
        System.out.println("");
        String g = scn.nextLine();
        String h = scn.nextLine();
        String i = scn.nextLine();
        String j = scn.nextLine();
        String k = scn.nextLine();
        
        System.out.println("Plotter Case Logging Template:");
        System.out.println("");
        System.out.println("User Name                           : " + a);
        System.out.println("Company Name                        : " + b);
        System.out.println("User Contact Number                 : " + c);
        System.out.println("User Alternate Contact Number       : " + d);
        System.out.println("User Email ID (for communication)   : "+ e);
        System.out.println("User Address Details                : "+ f);
        System.out.println("");
        
        System.out.println("Product details shared for installation case logging, by customer:");
        System.out.println("");
        System.out.println("Serial Number                       : " + g);
        System.out.println("Product Number                      : " + h);
        System.out.println("SN Snapshot                         : Yes / No " + i);
        System.out.println("Copy of Invoice attached            : Yes / No " + j);
        System.out.println("Carepack Purchased                  : Yes / No " + k);
        System.out.println("");
        
        */
        
        /*
        
        Scanner scn = new Scanner(System.in);
        
        int num1 = scn.nextInt();
        int num2 = scn.nextInt();

        int a = (++num1 + num2--);
        // int a = (11 + (11)); 11 + 11) = 22
        int b = (++num2 + num1/num2 + num2*num1);
        //int b = (11 + 11/11 + 11*11); 11  + 1 + 121 = 133
        long Final_Ouput = (a * b); 22 * 133 = 
        //long Final_Ouput = (22 * 133)= 2926 ||
        
        System.out.println("Out of First Expression a  : " + a);
        System.out.println("Out of Second Expression b : " + b);
        System.out.println("Final output : " + Final_Ouput); 
        
        */
        
        /*int a = 400000;
        int b = 100000;
        
        long c = (long)a * b;
        
        System.out.println(c);*/
        
        /*Scanner scn = new Scanner(System.in);
        
        String str2 = scn.nextLine();
        String str1 = scn.nextLine();
        
        
        System.out.println(str1);
        System.out.println(str2);*/
      /*  
     
        Boolean x = true;
        System.out.println(x);
        */
        
        /*Scanner scn = new Scanner(System.in);
        
        double temp = scn.nextDouble();
        
        if (temp >= 98.6) {
            
            System.out.println("You have a temp " + temp + " which in more than 98.6");
        }*/
     
     
    /*Scanner scn = new Scanner(System.in);
     
     int a = scn.nextInt();
     int b = scn.nextInt();
     
     System.out.println(a-b);*/
     /*
     Scanner scn = new Scanner(System.in);
        
        int a = scn.nextInt();
        double a1 = a;
        
        float b = (float)a1;
        
        System.out.println(b);
        
        Scanner scn = new Scanner(System.in);
        
        String str1 = scn.next();
        String str2 = scn.next();
        String str3 = scn.next();
        String str4 = scn.nextLine();
        String str5 = scn.nextLine();
        
        
        System.out.println(" " + str1);
        System.out.println(" " +str2);
        System.out.println(" " +str3);
        System.out.println(str4);
        System.out.println(" " +str5);*/
        
        /*Scanner scn = new Scanner(System.in);
        
        int n = scn.nextInt();
    
        
        if (n % 2 == 0) {
            System.out.println("The number is an Even Number");
              } 
        
        else {
            System.out.println("The number is an Odd Number");*/
            
            
            
            
            
            
            
            
            
            
            
            
            
            }
            
            }
            
}    

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: