write a program to input a number and change its sign
Answers
Answered by
0
Answer:
#include<iostream>
using namespace std;
int main () {
int input;
cin>> input ;
cout << "-" <<input <<endl;
}
Similar questions
Math,
1 month ago
Math,
1 month ago
Environmental Sciences,
1 month ago
Social Sciences,
2 months ago
English,
10 months ago
English,
10 months ago