Created
November 27, 2014 09:09
-
-
Save merbussa/ef3d64a1a2d9b37589b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class kullanıcıkup | |
{ | |
public static void main(String[] args) | |
{ | |
Scanner s=new Scanner(System.in); | |
System.out.println("Lütfen bir sayı giriniz."); | |
int a=s.nextInt(); | |
hesapla(a); | |
} | |
static void hesapla(int a) | |
{ | |
System.out.println(a*a*a); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment