Problem 6.1: Given a number, write a program using while loop to reverse the digits of the number.For example ,the number 12345 should be written as 54321. Solution: #include <stdio.h> int main() { int n; printf("enter your number to revice\n"); scanf("%d",&n); printf("reverse of your number %d is : ",n); while(n!=0) { printf("%d",n%10); … Continue reading Chapter 6 Programming Exercise [ANSI C] Part-1