Question: need help solving this homework thanks! using visual basic language. You will convert the descending If test found in the Decisions.zip program's Grade test button
need help solving this homework thanks! using visual basic language.
You will convert the "descending If test" found in the Decisions.zip program's "Grade test" button and convert it to a two sided And type test. Guidelines below: 1. Must build your own program from scratch, not just modify decisions.zip. 2. You program will require the following interface items: A textbox to take in a user's score as a double datatype, a label to explain what the user should be inputting to that textbox, a button that will contain all the commands - including the If test. You must also change the default text for the button to describe what its doing. For your output you will use a label whose Text property will contain a line of text stating "The student's grade is" and the assigned letter grade. i.e. Label2.text = "The student's assigned grade is: " & lettergrade 3. Do not use a msgbox for the actions of your If test, instead have it assign a grade to a variable that will contain it, i.e. lettergrade above. 4. be sure your two sided tests are complete on both sides of the And clause, i.e. If score = 90 then lettergrade = "A" NOT If score = 90 Then This test is NOT complete and will not perform correctly! 5. Be sure your If tests are inclusive of the upper and lower bounds of the range they are testing for. i.e. If score = 90 then This is properly inclusive of the valid range for an "A" grade, If score 90 then This test is not properly inclusive and will not catch the valid scores of 100 and 90 as being an A grade. 6. Give your Form's text property a custom title, this is easier done in the Design view. It can be anything you want other than "Forml
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
