Created
March 4, 2020 03:16
-
-
Save anugrahbsoe/5ca58546103696d3771f5adc5613d478 to your computer and use it in GitHub Desktop.
Soal tentang Perulangan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class tes{ | |
public static void main(String args[]){ | |
for(int i=0; i < 10; i++) | |
{ | |
if (i % 2 == 0){ | |
System.out.println( i ); | |
} | |
} | |
// System.out.println ("hasil outputnya"); | |
System.out.println ("perulangan for"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment