C++

Objectives :

Step: 1 Create a project

Step: 2 Create a source file

Step: 3 Edit Source code

Step: 4 Runtime View

a) if n1 >0 :  (if((n1!=0)&& (x1/n1 > 2))

Enter say 2

b) Testing short circuit (logical AND ) && operations; Now enter 0 as shown below

 

Step: 5b