Language/C
2018. 5. 7.
(c언어) 회문 구하기
회문 구하기 #include "stdafx.h" #include "string.h" #define max 100 char str[max]; void head(); void palindrome(int len, int i, int j, int k, int ck); int main() { int i=0, j=0, k=0, len = 0, ck = 0; head(); while (str[0]!='e'||str[1]!='n'||str[2]!='d') { palindrome(len, i, j, k, ck); } } void head() { printf("\t=======================================\n"); printf("\t\tPalindrome 판별 문제\n\n"); printf("..