Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

ternary in php

print ($marks>=40) ? "pass" : "Fail";
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #ternary #php
ADD COMMENT
Topic
Name
4+5 =