probleme info

Download Probleme Info

If you can't read please download the document

Upload: radu-mihaela

Post on 31-Oct-2015

10 views

Category:

Documents


0 download

DESCRIPTION

Probleme de informatica; pentru clasa a X-a, in programul C++ ;

TRANSCRIPT

#include using namespace std; int main() { int n, i = 0; cin >> n; while( n != 0) { i++; n /= 10; } cout n; while( n >= 10 ) n /= 10; cout maxim) maxim = aux; n /= 10; }

cout