first question of C
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
const char *cow = " ^__^\n"
|
||||
" (oo)\\_______\n"
|
||||
" (__)\\ )\\/\\\n"
|
||||
" ||----w |\n"
|
||||
" || ||\n";
|
||||
void affiche_vache() {
|
||||
printf(" \\ ^__^\n");
|
||||
printf(" \\ (oo)\\_______\n");
|
||||
printf(" (__)\\ )\\/\\\n");
|
||||
printf(" ||----w |\n");
|
||||
printf(" || ||\n");
|
||||
}
|
||||
|
||||
printf("%s", cow);
|
||||
int main() {
|
||||
affiche_vache();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user