Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Promoted
1. Input a number. If it is negative make it positive and display. need pseudo code and flow chart for this .?
3 Answers
Relevance
- 7 years ago
input number (n)
if number (n) less than zero
then let variable (v) = 2 times number (n)
positive number (p) = n minus v
display positive number (p)
- rogerLv 77 years ago
input number
if <0 multiply by -1
display
int num;
cin >> num;
cout << ( (nm<0) ?-num:num);
Still have questions? Get your answers by asking now.