Re: php codes for the following pls ..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ms . thank you for the code ..
:)




________________________________
From: suhasini <ammana2@xxxxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Thursday, June 18, 2009 11:51:26 AM
Subject: Re:  php codes for the following pls ..





hii
ur first question is print even numberss..am i right?
u can do something like this
<?php
$i =2;
while($i < =10)
{
  echo "$i";
 $i= $i + 2;
}
?>

Thanks & Regards
Suhasini

--- On Thu, 18/6/09, ellamae.luyun <ellamae.luyun@ yahoo.com> wrote:

From: ellamae.luyun <ellamae.luyun@ yahoo.com>
Subject:  php codes for the following pls ..
To: php-objects@ yahoogroups. com
Date: Thursday, 18 June, 2009, 5:38 AM

what is the syntax/ code to this problems:

1) 2, 4, 6, 8, 10

2) 2006 is not a leap year

2008 is a leap year

3) if you input, age is 18 then the output should be "your a debutant"

if you input, age is 17 then the output should be "your a minor"

if you input, age is 25 then the output should be "your an adult" 











Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket. yahoo.com

[Non-text portions of this message have been removed]





      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux