C++ Program to convert a positive number into a negative number and negative number into a positive number

C++ Program to convert a positive number into a negative number and negative number into a positive number using switch statements.

Flowchart to convert a +ve number into a -ve number

Flowchart to convert the sign of a number C++

C++ Program to convert a positive number into a negative number

Output

Select 1, for Negative to positive
Select 2, for positive to negative

1

Enter a Negative number

-6

the positive form of the number is

6

SFT (Shamil’s Flow Table )

Are you interested to Read about SFT(Shamil’s Flow Table)?

C++ Program to convert a positive number into a negative number and negative number into a positive number