program calculates the total number of left-handed and right-handed

program calculates the total number of left-handed and right-handed

program calculates the total number of left-handed and right-handed LeftOrRight.vb – This program calculates the total number of left-handed andright-handed’students in a class.’ Input: L for left-handed; R for right handed; X to quit.’ Output: Prints the number of left-handed students and the number of righthanded students.Option Explicit OnOption Strict OnModule LeftOrRightSub Main()’ DeclarationsDim LeftOrRight As String’ L or R for one studentDim RightTotal As Integer = 0 ‘ Number of right-handed studentsDim LeftTotal As Integer = 0 ‘ Number of left-handed students’ This is the work done in the housekeeping() procedureLeftOrRight = InputBox$("Enter L if you are left-handed, R if you areright-handed or X to quit.")’ This is the work done in the detailLoop() procedure’ Write your loop here.’ This is the work done in the endOfJob() procedure’ Output number of left or right-handed students.System.Console.WriteLine("Number of left-handed students: " & LeftTotal)System.Console.WriteLine("Number of right-handed students: " & RightTotal)End Sub ‘ End of Main() procedureEnd Module ‘ End of LeftOrRight Module

  • Continue to make an order HERE