" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
using namespace std;
int a,w;
int main()
{
cout<< "Podaj liczbe: ";
cin>>a;
cin.ignore();
if(a>=0){
w=a;
}else w=-a;
cout<< "Twoj wynik to "<<w<<" \n";
cout<< "Nacisnij Enter aby zakonczyc...";
getchar();
return 0;
}