Note : All the programs are tested under Turbo C/C++ compilers. It is assumed that, Programs run under DOS environment. Program is compiled using Turbo C/C++ compiler. The program output may depend on the information based on this assumptions (for example sizeof(int) == 2 may be assumed).

Read More »

Else If statement provides us the way to use many If statements in a single program. This sequence of if statements is the most general way of writing a multi-way decision. The expressions are evaluated in order; if an expression is true, the statement associated with it is executed, and this terminates the whole chain. As always, the code for each statement is either a […]

Read More »

Decision making is one of the most important concepts of computer programming. As the name suggests “Decision Making” , we means to state that we will be making certain decisions to carry out different operations. These decisions making strategies are same as we come across in our daily life. But here we will be using […]

Read More »