O.k. I was wondering if anyone can help me out here I am stuck. The question is I need to write a pseudocode for a program that uses a single while loop to print the numbers from 20 to 25 and from 40 to 45. Your loop will have at least one nested "if" statement that will determine when the numbers should be printed. Here is the code I came up with and apparently it's wrong. Any insight?
If X > = 20 Then
If X < = 25 Then Print X
End If
If X > =40 Then
If X < =45 Then Print X
End If
If X > = 20 Then
If X < = 25 Then Print X
End If
If X > =40 Then
If X < =45 Then Print X
End If
Comment