➽ Program:-

import java.util.*;

class Main

{

  public static void main(String args[])

  {

    float num1, num2, sum;

   

    Scanner sc = new Scanner(System.in);

 

    System.out.print("Enter the First Numbers: ");

    num1 = sc.nextFloat();

   

    System.out.print("Enter the Second Numbers: ");

    num2 = sc.nextFloat();

   

    sum = num1 + num2;

   

    System.out.println("Sum is " + sum);

  }

}

➽ Output:-

Enter the First Numbers: 26
Enter the Second Numbers: 27
Sum is 53.0