Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Licensz rész stb (Komment, több soros)
- */
- package javaapplication1;
- // Újra komment (egysoros)
- public class NestedIfExample {
- public static void main(String args[]){
- int num=30;
- if( num < 50 ){ //Ha kisebb mint 50
- System.out.println("A szám kevesebb mint 50");
- }
- else { //Ha nagyobb akkor ez fut le
- System.out.println("A szám több mint 50");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement