Computer Science, asked by munnuruprudhvi, 5 hours ago

3. Take two numbers as input. Convert these numbers to positive numbers if they are negative numbers, convert them into negative numbers if they are positive numbers.​

Answers

Answered by KushalJain453
0

This is a C++ program

#include<iostream>

using namespace std;

int main{

int a,b;

cout<<"Enter the two number";

cin>>a>>b;

a = -a;

b = -b;

cout<<a<<b;

}

Similar questions