You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
644 B
38 lines
644 B
#include <stdio.h> |
|
|
|
int charFunctions() |
|
{ |
|
char c; |
|
|
|
printf("Enter character: "); |
|
c = getchar(); |
|
|
|
printf("Character entered: "); |
|
if (c == '\n') |
|
printf("\\n\n"); |
|
else |
|
putchar(c); |
|
printf("\n"); |
|
|
|
return (0); |
|
} |
|
|
|
int renderKinda() |
|
{ |
|
char ender = 0; |
|
while (!ender) |
|
{ |
|
printf("%s", " _ _ _ \n"); |
|
printf("%s", "|_|_|_|\n"); |
|
printf("%s", "|_|_|_|\n"); |
|
printf("%s", "|_|_|_|\n"); |
|
printf("press ENTER to exit:"); |
|
ender = getchar(); |
|
} |
|
return 0; |
|
} |
|
|
|
int main(int argc, char const *argv[]) |
|
{ |
|
return 0; |
|
}
|
|
|