View Code of Problem 52

#include <stdio.h>
#include <math.h>
#include <string.h>

int main(int argc, const char * argv[]) {
    char str[101];
    
    gets(str);
    
    for(int i = 0; i < strlen(str); i++) {
        printf("%c", str[strlen(str) - i - 1]);
    }
}

Double click to view unformatted code.


Back to problem 52