How do I use the if-then statement?
Category: fundamental, viewed: 313 time(s).
The if-then is the most basic control flow statement. It will execute the block of statement only if the test expression evaluated equals to true. Let's see the example below:
The result of the above program is:
A(10) is bigger than B(5) B(5) is smaller that A(10)
Can't find what you are looking for? Join our FORUMS and ask some questions!
Download Hundreds of Complimentary Industry Resources
Get hundreds of popular Industry magazines, white papers, webinars, podcasts, and more;
all available at no cost to you. With more than 600 complimentary offers, you'll find
plenty of titles to suit your professional interests and needs.
Click Here and Sign up today!
