Skip to main content

Home/ Programming tutorials and source codes/ Group items tagged If statement

Rss Feed Group items tagged

Sushil Saini

Decision making in C, C , C# languages using if - Part 1 | Techno Visitors - tablet, l... - 0 views

  •  
    Check how to make decisions in programming languages like C, C++, C#. In this post, you will read about: - What is decision making? - Decision making in C, C++, C# - If statement - Multiple statements within if - C++ example program for if condition - Relational operators - C program showing use of relational operators
Sushil Saini

How IF statement surprises the beginners - C, C , C# tutorial | Techno Visitors - tabl... - 0 views

  •  
    Sometime the if (expression) statement in C, C++, C# languages leads to unexpected results for the beginners. Do you know why they get confused and surprised with such strange behaviour of if? Read how.
Sushil Saini

Difference between switch and if else ladder - Which one is better | Techno Visitors - ... - 0 views

  •  
    Do you know the conditions where the use of switch and if else ladder C/ C++/C# programming controls are better over each other? In this post, you will read: - An example program showing how switch is more manageable than if else. - Disadvantages of switch over if-else - Advantages of switch over if-else - Why switch works faster than if-else? - Where to use switch over if-else? - And where to use if-else over switch?
Sushil Saini

Decision making statements in C, C , C# programming - Chapter 2 | Techno Visitors - ta... - 0 views

  •  
    This tutorial includes 4 units covering replies to almost all questions relating to decision making with all if constructs of C, C++ and C# programming languages.
1 - 4 of 4
Showing 20 items per page