Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util*
- public class stuff;
- {
- public static void main(String [] args)
- {
- {
- int a = 45;
- int b = 20;
- }
- else{
- while ( b != 0)
- {
- int r = a % b;
- a = b;
- b = r;
- }//endloop
- System.out.println(b);
- }
- System.out.println(a);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement