Coding Gear
Home
Youtube channel
Youtube playlist
RDBMS TURTORIAL
C LANGUAGE PLAYLIST
RDBMS PRACTICAL
Home
Youtube
Instagram
Write a PHP script to display a maximum of two numbers using a conditional operator
Assignment:1 Practice Set Q.2 Solution
Q.Write a PHP script to display a maximum of two numbers using a conditional operator.
$num2)?$num1:$num2; //Display result echo"The greatest number is $num"; ?>
Download Code
Post a Comment
0 Comments
Contact form
0 Comments