Q:

Java Program to multiply Two Floating Point Numbers

0

Program to multiply Two Floating Point Numbers

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

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

public class MultiplyTwoNumbers
{
       public static void main(String[] args)
          {
              float first = 1.5f;
              float second = 2.0f;
              float product = first * second;
              System.out.println("The product is: " + product);
          }
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now