Next: The while statement
Up: Further Structured Design
Previous: Review questions
A set of numbers is to be entered to the computer and the number of negative and the number of positive values entered are to be output. All the numbers lie between -100.0 and 100.0.Use a sentinel controlled loop and choose a suitable value for the sentinel.