boost learn study
Friday, March 28, 2014
Conditional Control Statement ? :
/*The easiest way to use conditional control statement*/ #include< stdio.h >#include< conio.h >void main() { int n; clrscr(); n%4==0 ? printf("Leap Year") : printf("Not Leap Year"); //OR //printf(n%4==0 ? "Leap Year" : "Not Leap Year"); getch(); }
Read more �
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment