#include #include void main(void){ char str[100]; scanf("%s",str); printf("入力された文字列:%s\n",str); for(int i = strlen(str)-1; i < 0; i--){ if(str[i] == '<'){ printf(">"); }else{ printf("<"); } } }