Skip to content

Instantly share code, notes, and snippets.

@anugrahbsoe
Created March 4, 2020 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anugrahbsoe/5ca58546103696d3771f5adc5613d478 to your computer and use it in GitHub Desktop.
Save anugrahbsoe/5ca58546103696d3771f5adc5613d478 to your computer and use it in GitHub Desktop.
Soal tentang Perulangan
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