Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Visual Basic coding with and must use LOOP. Please help!! Penny or Nickel Challenge MUST USE A LOOP Application finds the amount of your monthly pay if you are paid a penny or nickel for the first...

1 answer below »
Visual Basic coding with and must use LOOP. Please help!! Penny or Nickel Challenge MUST USE A LOOP Application finds the amount of your monthly pay if you are paid a penny or nickel for the first workday and the pay is doubled each subsequent workday. New employees are paid a penny for the first workday and experienced employees are paid a nickel for the first day. The user enters the number of workdays in a monthly pay period and the pay for the first day. The program calculates and displays the amount of pay for the pay period. The user enters the number off days in the pay period. The user selects a RadioButton object to indicate the pay amount for the first day; a penny or a nickel. After the user enters the number of days and pay for the first day, the total amount earned is calculated and displayed. Restrictions: Nonnumeric values should not be accepted Negative values should not be accepted The minimum number of work days in the pay period is 10 days. The maximum number of workdays in a pay period is 22 days.
Answered 114 days After May 21, 2022

Solution

Sathishkumar answered on Sep 12 2022
72 Votes
Code
Public Class Form1
Private Sub btnCalculate_Click(sender As Object, e As EventArgs) Handles btnCalculate.Click
Dim numDays As Intege
Dim amount As Integer = 1
Dim totalAmountInDollars As Double
If Integer.TryParse(txtNumDays.Text, numDays) Then
If numDays > 0 Then
If numDays >= 10 And...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here