C PROGRAM TO TAKE N DIGIT NUMBER AND PRINT ROTATION OF NUMBER AND PRINT BIGGEST AMONG THEM
Example
We take d as number of digits
Then we take the number (if d is 4 we take 4 digit number)
sample input
1234
sample output
4123
3412
2341
1234
4123 is the biggest number
...............*****................****.................****......................
Click here to run the program
Previous programs
Program to print nth prime number
in the above program we take a number n that represents the no of digits that the input number that can be entered. now we enter the number which have n digits. then we write a code to replace the last numbers to the first place.in the above program we use the concepts of loops.
THANK YOU
For learn with me
YOURS MOHAN KADALI
Copyright to mohan kadali
https://onlinegdb.com/atJzULWF3
ReplyDelete