ads

Friday, 26 February 2016

Thursday, 25 February 2016

variable modulus in javascript

javascript

"Modulus" 

Input:-

    

     Output:-

1. "enter the value of a"

  2."press "ok" and then this box willl apears".


  3." enter the value of b"


4. press "ok". then final output is shown" like this:-


variable division in javascript

javascript

"Division" 

Input:- 

Output:-

1. "enter the value of a"


2."press "ok" and then this box willl apears".


   3." enter the value of b"


4. press "ok". then final output is shown" like this:-



variable multiplication in javascript

javascript

"multiplication"

Input:-

Output:-

        1. "enter the value of a"

  2."press "ok" and then this box willl apears".

   3." enter the value of b"
4. press "ok". then final output is shown" like this:-


Subtraction using prompt in javascript

javascript

"subtraction" 

Input:- 

output:-

       

 "output is shown like this. enter any value of a"

 

  "after entering the value of a then press "ok"." 

 

"then dialog box apears then enter the value of b"

 

 

" press "ok".final output is shown on window."