Hi! This is my first time (as in completely ignorant and learning for the FIRST TIME) in Comp Sci/Programming and I was given this project where I simply have to create a “sales calculator” that has 3 different packages each with a fixed value in USD. Everything went well with the correct values calculated in the label during runtime until the addition for the grand total occurred. I am guessing that it has something to do with the ElseIf statements but I couldn’t figure it out properly.
My code for the grand total is after the final EndIf for PackageC: “lblGrandTotal.Text = (lblPackageA.Text + lblPackageB.Text + lblPackageC.Text).” Given problem with a portion of my code (since they’re all similar anyway) and result of said code shown below: