娛樂滿紛 26FUN's Archiver

923123 發表於 2008-6-25 02:46 PM

關於 PHP Programming問題

(1)Store Two number in two variables,var A and var B. IF var A is greather than or equal to var B , Or If Var A equal 3,Shows the modulus of var A divided By var B:Otherwise, Show The Result of var A to the power var B.
(2) Store Three String in an array. Sort The three strings using the first character and print out the string in separated lines. Print out the strings in a reversed way.

slwong3 發表於 2008-6-25 03:04 PM

:P:P

you better ask your professor for homework question

louiwong 發表於 2008-6-25 04:04 PM

php有好多function用架, 你上php個網下載php_manual_en.chm落黎睇, 你就會好快做到, 呢兩條都係小case

頁: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.