Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
- int RegCheck(char *word, int size) {
- int i;
- for (i = 0;i < size;i++)
- if (isupper(word[i]) == 0) return 0;
- return 1;
- }
- int main() {
- int wordsize;
- printf("wordsize="); scanf("%d", &wordsize);
- fgets(word, wordsize, stdin);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement