Answer to Question #165894 in Visual Basic for Mishael Yisazor Kotiyes

Question #165894

Write a program to triple the salary of workers


1
Expert's answer
2021-02-23T04:05:19-0500
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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS