1 #include <unistd.h> 2 #include <stdio.h> 3 test_func()4void test_func() 5 { 6 int i; 7 int b_count = 0; 8 char user_input[200]; 9 10 read(0, user_input, 200); 11 for (i = 0; i < 20; ++i) 12 { 13 if (user_input[i] == 'B') 14 { 15 ++b_count; 16 } 17 } 18 19 if (b_count == 10) 20 { 21 printf("There are 10 'B's in your input.\n"); 22 printf("Easter egg triggered!\n"); 23 } 24 } 25 main()26int main() 27 { 28 test_func(); 29 } 30 31