HomeAboutWeb DesignGraphicDesignPresentationContact

ASP Training 101

Webitcorp: Simplfying thing with string cocatention

String cocatention

The term concatenate refers to the operation of combining two or more strings into a single string.
For example, the concatenation of base and ball is baseball.

We are computing the averages of 5and 16
There arithmetic mean is 10.5 and theri geometric mean is 8.94427190999916

The Code

<%

iTerm1 = 5
iTerm2 = 16

strOut = "We are computing the averages of " & iTerm1 & "and " & iTerm2 & "<br />"
Response.Write(strOut)

sngArithmetic = iTerm1 + iTerm2
sngArithmetic = snGArithmetic /2
sngGeometric = (iTerm1 * iTerm2)^0.5
strOut = "There arithmetic mean is " & sngArithmetic & " and theri geometric mean is " & sngGeometric
Response.Write(strOut)
%>

Home | About | Web Design | Graphic Design | Presentations | Contact | Site Map | del.icio.us+del.icio.us

| Saint Lucie County, Florida | Rockland County, NY | Burgan County, NJ |


Port Saint Lucie Web Development , Graphic Design , Multimedia Presentations , and much more

Valid XHTML 1.0 Transitional

Copyright ©2007

Onenuttyweb.com