Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class hf2
- {
- public static boolean tokeletese(int szam)
- {
- for(int i=1; i<n; i++)
- {
- if(n%i == 0)
- {
- sum+=i;
- }
- }
- if(sum == n)
- {
- return true;
- }
- else
- {
- return false;
- }
- }
- public static void main(String[] argv)
- {
- int n = Integer.parseInt(argv[0]);
- int sum = 0;
- int db = 0;
- System.out.println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement