Untitled
unknown
plain_text
3 months ago
397 B
2
Indexable
#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { int n, n1, b; n1 = 0; b = 0; cout<<"Jep nje numer te plote \n"; cin>>n; while(n > 0) { b = n % 10; n1 = n1 * 10 + b; n = n / 10; } cout<<"Numri pas konvertimit eshte: "<<n1<<endl; system("PAUSE"); return EXIT_SUCCESS; }
Editor is loading...
Leave a Comment