Constants Modifiers Statements
Constants Modifiers Statements
Statements
Modifiers
• The modifiers are keywords added with any
programming element to give some especial
emphasis on how the programming element
will behave or will be accessed in the program.
•ReadLine()
• The most commonly used input function is ReadLine. The
ReadLine Function reads a single line from the standard input
stream or the command line. Basically it reads all the
characters a user types until he presses enter.
Module Module1
Sub Main()
Dim result As String
End Sub
End Module
Exercises
1. Create a console program that will print the
difference of 10.24 and 6.05. Use three variables.
2. Create a console program that will print the product
of 10 and 20. Use the two variables.
3. Create a console program that will print the
remainder of 10 and 12 when divided.
4. Create a console program that will print the
quotient of 100 and 10. The output should be “The
quotient of 100 and 10 is __.”
•4. Create a console program that will print
the quotient of 100 and 10. The output
should be “The quotient of 100 and 10 is __.”
= (Equal to)