#include #define LINE_LEN 256 // this keeps VSC from underlining NULL all the time. #ifndef NULL #define NULL (void *) 0 #endif #define STARTT 'a' #define ENDDDD 'z' #define DIFFFF ('a'-'z') void shout(); int main(void) { shout(); } void shout() { char line[LINE_LEN]; while (1) { if (NULL == fgets(line, LINE_LEN, stdin)) break; for (int i = 0; line[i] != '\0'; i++) { if (line[i] >= 97 && line[i] <= 122) { line[i] = line[i] - 32; } } printf("%s\n", line); } }