I need help with a homework assignment writing pseudocode. I have all the codes
ID: 672279 • Letter: I
Question
I need help with a homework assignment writing pseudocode. I have all the codes ready to go excpet for one area. Our intructor stated "incorporate check for weight of box to be positive and between 1 and 50 pounds." I have no idea to do that, if I could get a little help to get me started that would be awesome. Please see the entire question below: ( already did everything else except for that one)
Assignment
create some pseudocode and a flowchart (raptor OR Visio) to complete the project # 9 for chapter 4 page 168
basic competencies 82-87 points): use of at least two modules, define all variables, best choice for if's with the range, display the user's input and calculated cost with reasonable messages;
additional competencies (90-100) points; incorporate check for weight of box to be positive and between 1 and 50 pounds, include a heading in the output to simulate a "report" that can be given to the customer
Explanation / Answer
you can easily check the contents of the text box.
you can write an event on the click like
Private Sub textbox_Click()
If (textbox.Value >= 1 && textbox.Value <= 50) Then
Msgbox("Valid")
Else
Msgbox("Error text box is empty or value is not in the range. Please re-enter")
textbox.value=""
End If
End Sub
Here we are checking for the range and the validity on the check box.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.