Write a program to triple the salary of workers
Module Module1
''' <summary>
''' The start point of the program
''' </summary>
Sub Main()
'Get the salary of the worker
Console.Write("Enter the salary of the worker: ")
Dim salary As Double = Double.Parse(Console.ReadLine())
'caclaute he triple salary of the worker
salary *= 3
'display result
Console.WriteLine("The triple salary of the worker = " + salary.ToString("C"))
Console.ReadLine()
End Sub
End Module
Comments
Leave a comment