See More

/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package javaprograming; /** * * @author rohan Multiply Two Floating Point Numbers */ public class MultiplyTwoNumbers { public static void main(String[] args) { float first = 2.0F; float second = 4.5F; float product = first*second; System.out.println("The product is: "+product); } }