1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import java.util.Scanner; import java.util.function.Function; public class fact { public static void main(String[] args) { Function<Integer ,String > fact=(n)-> {String res="Factorial of "+n+" is="; double a=1; for (int i=1;i<=n;i++) a*=i; return res+a; }; Scanner in=new Scanner(System.in); System.out.print("Enter the number :"); int num=in.nextInt(); System.out.println(fact.apply(num)); } } |
USE any TRIAL SOFTWARE FOREVER WITHOUT SERIAL NUMBER(most wanted trick) Run a trial software forever now with time stopper you can run a trial software forever no need to fetch for serial numbers,activation codes,patch just DOWNLOAD TIME STOPPER now open it install it click browse select the .exe of the software or file which you want to run forever now simply click create desktop icon and now delete all its existing shortcuts now have fun enjoying software for life time
Comments
Post a Comment
share your thoughts ....