Professional Documents
Culture Documents
Babatla
BSCpE- 1A
PSEUDOCODE
Module Main()
Input height
Input weight
End module
Input BMI
Display “underweight”
Else
Display “normal”
Else
Display “overweight”
Else
Display “obese”
End If
End If
End If
End If
2. SOFTWARE SALES
PSEUDOCODE
Set DiscPercent = 50
Else
Set DiscPercent = 40
Else
Set DiscPercent = 30
Else
Set DiscPercent = 20
Else
Set DiscPercent = 0
End If
End If
End If
End If
End If
Set DiscountAmount = DiscPercent * 99 * quantity
3. DEBUGGING
The problem is in the second line. The “if NOT temp” if the error or the problem it must be “If temp”. and also
the operator must be “≠” not “==”.