
Check if a number is positive or negative in Raptor
Algorithm
Input: Input a numbers
output: Check if the number is +ve or -ve
- Start
- Input a number say a
- check if a>0
3.1 Print a is +ve - Else
4.1 Print a is -ve - Stop
FlowChart

Note: This Flowchart was created using a program called Raptor. The flowchart file can be downloaded by clicking here
Input
a:5
Output
5 is a positive number
Comments