#include <stdio.h>
int main() {
int num, rev = 0, rem;
printf("Enter a number: ");
scanf("%d", &num);
while(num != 0) {
rem = num % 10;
rev = rev * 10 + rem;
num /= 10;
}
printf("Reversed: %d\n", rev);
return 0;
}
What is data analysis and its significance? Data analysis is the process of collecting, transforming, and organizing data to dr...
No comments:
Post a Comment