HACKIS - Hacking Internet Security
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Tuyệt Kỹ Đong Giai Chân Kinh (tuyệt Kỹ cua trai)
Hàm tính giai thừa EmptyThu Aug 23, 2012 5:38 am by Admin

» Tuyệt kỹ cua giai
Hàm tính giai thừa EmptyThu Aug 23, 2012 5:36 am by Admin

» NETCAT.........
Hàm tính giai thừa EmptyMon Aug 13, 2012 6:35 am by Admin

» Bảo mật CSDL bằng phương pháp mã hóa.
Hàm tính giai thừa EmptyTue Apr 17, 2012 10:04 pm by Admin

» Hàm mã hóa MD5 bằng JavaScript
Hàm tính giai thừa EmptyTue Apr 17, 2012 10:03 pm by Admin

» Giá của món quà
Hàm tính giai thừa EmptyFri Apr 13, 2012 6:01 am by Admin

» Sẽ chỉ yêu ai?
Hàm tính giai thừa EmptyFri Apr 13, 2012 6:01 am by Admin

» Cách đọc bảng chữ cái!
Hàm tính giai thừa EmptyThu Apr 12, 2012 10:37 pm by Admin

» Gắn trojan, keylog, virus vào website, forum
Hàm tính giai thừa EmptyTue Apr 10, 2012 1:14 am by Admin

Affiliates
free forum


Hàm tính giai thừa

Go down

Hàm tính giai thừa Empty Hàm tính giai thừa

Post  Admin Wed Dec 29, 2010 12:13 am

Code:
package factorial;

/**
 *
 * @author Johto
 */
public class Main {

    /**
    * @param args the command line arguments
    */
    public static void main(String[] args) {
        // TODO code application logic here
        int n=4;
        int kq=1;
        for(int i=1;i<=n;i++)
        {
            kq=kq*i;
        }
        System.out.println(kq);
    }

}
Admin
Admin
Admin

Tổng số bài gửi : 782
Join date : 2009-08-15

https://hackis.forumvi.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum