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=70;
- if( num < 100 ){ //első feltétel
- System.out.println("a szám kisebb mint 100");
- if(num > 50){ //másdoik feltétel
- System.out.println("a szám nagyobb mint 50");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement