Given an integer N (> 0). Using the operation of dividing the target and taking the remainder of the division, find the number obtained by reading the number N from right to left.

Program:

`#inсlude <vcl.h> #include <iostream.h> #include <conio.h> void main() { int n, s, k, l; cout << " vvedite n: "; cin >> n; while (n > 0) { if (k = n % 10) s = s + kn = n / 10; } cout << " symma= "; cin >> s; cout << " kolishestvo= "; cin >> l; getch(); }`

How to write the correct condition, please help.