program to find the positive and negative number

Write a program to find the positive and negative number?

Logic:

Number is positive if number > 0

For example: 4 > 0  so 4 is a positive number

Number is negative if number < 0

For example: -4 < 0  so -4 is a negative number

Program:

Program with Comments:

Output:

positive, negative number in c++

Fazal Rehman Shamil
Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "T4Tutorials.com". The link of the group is mentioned below. Thanks and love to all for connecting with us. We are nothing without you. Love you all.....
https://web.facebook.com/groups/2066136233601097/

Leave a Reply