| 実行結果 |
|
|
| 実行結果 |
|
|
| 実行結果 |
|
|
| pt2-4.cの一部 |
#include < stdio.h >
#define MAXLINE 1024
int cnt_aiueo(char str[]);
int main(void) {
int count;
char line[MAXLINE];
printf("Input a line -> ");
gets(line);
count = cnt_aiueo(line);
printf("Original : %s\n", line);
printf("The number of aiueo is : %d\n", count);
return 0;
} |
| 実行結果 |
|
|