Search here for all the info you want in this Blog

write a program to read two values and print the cancatinated values

'5) write a program to read two values and print the cancatinated values

Dim x
x = InputBox("Enter an Integer value1","Input Reader")
y = InputBox("Enter an Integer value2","Input Reader")

' as we are concatinating no need to convert them like before program

c = a + b  ' or c = a & b

' you can use + or & to concatinate two strings, but i always suggest to use &

WScript.Echo c


No comments:

Post a Comment