Java Programs
Showing posts with label
cube
.
Show all posts
Showing posts with label
cube
.
Show all posts
Thursday, 13 June 2013
calculating cube in java ................
import java.io.*;
class simple_wap_cube1
{
public static void main(String args[])
{
int a=5,c;
c=a*a*a;
System.out.println("cube of given numbers is = "+c);
}
}
Older Posts
Home
Subscribe to:
Posts (Atom)