Wednesday 31 August 2016

All Relational Operations In PHP Using Ternary(? :) Operator



output :


All Relational Operations In Java Using Ternary(? :) Operator



output :


All Relational Operations In C++ Using Ternary(? :) Operator



output :


Tuesday 30 August 2016

All Relational Operations In C Using Ternary(? :) Operator



output :


Sunday 28 August 2016

All Logical Operations In PHP



output :


Saturday 27 August 2016

All Arithmetic Operations In PHP



output :


All Logical Operations In java



output :


All Logical Operations In c++



output :



All Logical Operations In C



output :



Wednesday 24 August 2016

All Arithmetic Operations In Java



output :


Saturday 20 August 2016

All Arithmetic Operations In C++



output :



Friday 19 August 2016

All Arithmetic Operations In C



output :



Wednesday 17 August 2016

Addition of Numbers in PHP




output :

Sum of A and B is : 10

Simple PHP program




output :

Hello World

Addition of Numbers in Java



Notice : Save file as Main.java

output :

Addition of A and B is : 10

Simple Java program




output :

Hello World

How to Compile and Execute java Programs.


step 1 : Open Command Prompt (make sure you have installed java development kit(JDK))

step 2 : In command prompt navigate to directory or folder where you had save your java program.

step 3 : Now Follow this :

         javac yourprogramname.java (this will compile your java code.)

step 4 : if code is successfully compiled without errors. its time to execute the code. 
             to execute java program follow this :
          
             java yourprogramname (this will execute your program and will generate the desired output)
              

Addition of Numbers in C++



output :

Sum of a and b is : 10

Addition of Numbers



output :

Enter the Value of A : 5 Enter the Value of B : 5 Sum is 10

Tuesday 16 August 2016

Simple C++ program



output :

Hello World

Simple C program



output :

Hello World