How would I write an If-Then statement that sets the variable hours to 10 when the flag variable minimum is set?
![]() |
How would I write an If-Then statement that sets the variable hours to 10 when the flag variable minimum is set?
1 Declaretwo variables To hold flag and hour
2 Declare Integer flag
3 Declare Integer Hour
4 prompt user to set the flag
5 Display "Set The Flag Amount"
6 input flag
7 If IsMinimum(Flag) Then
8 Hour=10
9 End If
//Declare variables
Declare Boolean minimum
Declare real hours
If Set minimum = true Then
hours = 10
That is what I got but if its not right please someone let me know... it seems too easy to be right
All times are GMT -7. The time now is 12:28 AM. |