//
declare 3 integers, give them a value, compute the
// product and print it
import java.io.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class Application1
{
public Application1()
{
int n1=33;
int n2=34;
int n3=21;
int prod;
prod = n1 *
n2 * n3;
JOptionPane.showMessageDialog(null,"Product is "+prod);
}
public static void main(String args[])
{
Application1 app = new Application1();
System.exit(0);
}
} |