Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class u3a3 {
- public static void main(String[] args) {
- int r,m,n,i=1,sTeil;
- while (i <= 4)
- {
- for (m = 1; m < 10000; m++)
- {
- sTeil=0;
- for (n = 1; n < m; n++)
- {
- r = m % n;
- if (r == 0)
- sTeil=sTeil+n;
- }
- if (sTeil == m)
- {
- System.out.println(i + ". Lösung " + sTeil);
- i=i+1;
- }
- }
- }
- }
- }
- URLClassLoader$1.run() line: not available [local variables unavailable]
- AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext) line: not available [native method]
- Launcher$AppClassLoader(URLClassLoader).findClass(String) line: not available
- Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available
- Launcher$AppClassLoader.loadClass(String, boolean) line: not available
- Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement