View Code of Problem 54

#include <stdio.h>
#include<math.h>
 int main()
 {
    char s[100];
    scanf("%s",s);
    for(int i=0;i<strlen(s);i++){
        if (i<strlen(s)-1)printf("%c " ,s[i] );
        else printf("%c",s[i]);
    }

    return 0;
 }

Double click to view unformatted code.


Back to problem 54