strange problem

From: Danny Gopie (ouygiytf_at_jhgvkuy.nl)
Date: 11/29/04


Date: Mon, 29 Nov 2004 15:48:34 +0100

Hello, I dont understand why it print these line((+ h1+ " is een veelvous
van" + h2), becouse the condition is not true. Whatever the values are, it
always print the line.

public class hele {
       public static void main(String[] args) {

           double h1 = 1;
           double h2 = 3;
           double p1 = 9;
           double p2 = 8;

           if ( (h2 % h1) ==67); {
               System.out.println(+ h1+ " is een veelvous van" + h2);

                }

           }

       }



Relevant Pages

  • Re: Problems when a scan for virus W2K
    ... > Now i wont reinstall win2k, becouse i think is a better ... > solucion for the problem but i dont know if he install ... > i have dns server work, apache, coldfusion ftp server ect.. ... > i dont want loose any configuration in this server ...
    (comp.os.ms-windows.nt.admin.security)
  • Problems when a scan for virus W2K
    ... becouse i think is a better ... solucion for the problem but i dont know if he install ... in the same directory and i dont loose anythink? ... i have dns server work, apache, coldfusion ftp server ect.. ...
    (comp.os.ms-windows.nt.admin.security)
  • Re: How attach files and send mails on perl????
    ... My apologies for this... ... First, I post this problem becouse, im relative newer programming on perl, ... maybe some people in the list help me to understand or help me ... in another solution that i dont never see... ...
    (perl.beginners)
  • Re: free firewalls
    ... van typed: ... > other that are free but i dont want to use them without someone ... Please reply to the newsgroup ...
    (microsoft.public.windowsxp.basics)
  • Old Escort van workshop manual?
    ... My old Escort van will need a bit of work soon. ... self explanatory, so I dont need any guidance on minor things, but I'm ... Are there any specific manuals for these, or do I just get a 'diesel ...
    (uk.rec.cars.maintenance)