Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class nomor2 {
- public static void main (String[]args){
- int a,b ;
- for (b=1;b <= 20 ; b++){
- if (b%2==0)
- System.out.println(b);
- }
- a = b*5+5;
- System.out.println("jumlah : "+a);
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement