Forbrukslån | Lainavertailu 2017 | Beste Kredittkort Reise | Billigst Strøm 2017 | Innbruddsalarm Pris | Vardia Forsikring Erfaringer | Billigste Mobilabonnement 2017 | Boligsalgsrapport
JavaScript programming

Expression java script tutorial

JavaScript programming through the use of different kinds of operators and o parent logical and arithmetic operations are performed. o parent using the operator and logical, relational, and her expression is the mathematical relationship. Such as a + b, a> b, b <c, etc.

Statement:

JavaScript programming in a wide variety of logical, relational and arithmetic operations, and by the use of performance-friendly application is made. Each application is a combination of many statements. JavaScript lines associated with each seminal

a special performance in which the statement was issued. As a + b = c; In a statement. Here a and b are two variables by adding the result to the variable c has been issued.

Practice Project:

<html>
<head>
<title> www.trickbd.com.bd</title>
<style>
body{background: #FFC;
font-size:20px;}
h2{color:#FF0066;}
</style>

</head>
<body>
<script type = “text/java script”>
var a = 30;
var b = 20;
var c ;
c = ( a + b );
document.write(“<p>( A + B ) = C = ”
+ c + “.</p>”);
document.write(“<p>A= ”
+ a + “.</p>”);
document.write(“<p>B= ”
+ b + “.</p>”);
if( a>b ){
document.write(“The largest value is A “);
}
else{
document.write(“The largest value is B “);
}
</script>
</body>

</html>

Notepad: to open a file type from the menu at the top of layer code by clicking on the Save as File name: index.html, Save as type: All files, save and open the index.html file with the Mozilla Firefox look like the image shown below.

( A + B ) = C = 50.

A= 30.

B= 20.

The largest value is A

A statement of the program used by the top line of each seminal. a + b, a> b is the expression.

Comments

comments

About the author

Toriqul Islam Tusher

বলার মত কিছু নাই!

Leave a Comment