Computer Science, asked by ashaagarwal04197965, 2 months ago

write a program to input a number and change its sign

Answers

Answered by piyushsharma990984
0

Answer:

#include<iostream>

using namespace std;

int main () {

int input;

cin>> input ;

cout << "-" <<input <<endl;

}

Similar questions