Skip to main content

Home/ Programming tutorials and source codes/ Group items tagged if-else

Rss Feed Group items tagged

Sushil Saini

Decision making using if else, nested if else, else-if in C, C , C#: Part 2 | Techno V... - 0 views

  •  
    Check how to refine a #decisionmaking #C, C++ program using #ifelse, #nestedifelse, #logicaloperators and #elseif. This post includes: - How to use if-else - C++ program to find even and odd numbers using if-else condition - How to use Nested if-else - #Cplusplusprogram to calculate divisions from mark sheet of students using nested if-else - Disadvantages of using nested if-else - C++ program showing divisions of students using logical operators with if condition - Disadvantages of using logical operators - Replacing if and logical operators conditions with else-if condition.
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 - 3 of 3
Showing 20 items per page