Problems
Write a program that receives a string as input and rotates it one full turn to the right by the number of characters in the string, then prints the result. The length of the string does not exceed 100 characters.
Example
PROGRAM
MPROGRA
AMPROGR
RAMPROG
GRAMPRO
OGRAMPR
ROGRAMP
PROGRAM
Source
자기주도C언어프로그래밍