两道C语言编程题题,求解!
两道C语言编程题题,求解!
日期:2016-10-16 12:00:16 人气:1
(1)
#include
void main(){
int i,j,n,K;
char s[100],x;
scanf("%d",&n);
for (j=0;j<n;j++){
scanf("%d\n",&K);
gets(s);
for (i=0;i<strlen(s);i++) {
x = s[i];
if ( (s[i] >= 'a') && (s[i] <= 'z') )