#include #include using namespace std; int main(int argc, char *argv[]) { int num=0; int bank=0; cout <<"Adady vared konid:\n"; cin >> num; while (num>0) { cout << num%10 <<" + "; bank =bank + num %10; num=num/10; } cout<< "\b =" << bank; system("PAUSE"); return EXIT_SUCCESS; }