i found this program and i'm more familiar with c++ but this is in c and i just can't figure out how to put it into c++
Code:/* Demonstration of the do…..while loop */ #include <stdio.h> int main(void) { int value, r_digit; printf(“Enter a number to be reversed.\n”); scanf(“%d”, &value); do { r_digit = value % 10; printf(“%d”, r_digit); value = value / 10; } while (value != 0); printf(“\n”); return 0; }