>Free printable Sudoku Puzzles | Custom Word Search Puzzles | iptocountry.info | Free web storage

Operators: ^, *, /, \, +, -, parenthesis

Exponentiation
<% Myresult = 2^2
response.write (Myresult) %>
4
Multiplication
<% Myresult = 2*2
response.write (Myresult) %>
4
Division
<% Myresult = 2.5/2
response.write (Myresult) %>
1.25
Integer Division
<% Myresult = 2.5\2
response.write (Myresult) %>
1
Addition
<% Myresult = 2+2
response.write (Myresult) %>
4
Substraction
<% Myresult = 2-2
response.write (Myresult) %>
0
Parenthesis (to stablish order of preference for operators)*
<% Myresult =  5+3/2^4/2*5
response.write (Myresult) %>
5.46875
80
<% Myresult = (((5+3)/2)^(4/2))*5
response.write (Myresult) %>
80
* Without parenthesis the order or preference for operations is the order in the table: 
      first: exponentiation
      second: multiplication and division
      third: addition and substraction

 

Create word search puzzles with your own words



Add Country identification to your site

Tutorial home page

2008@ AspTutorial.info. All rights reserved.