int test(int a, int b, char* s1, char* s2, char* s3){ if (a > b){ puts(s1); }else if (a < b){ puts(s2); }else{ puts(s3); } return 0; } int main(){ char* s1; s1 = "Greater than 10\n\n"; char* s2; s2 = "Less than 10\n\n"; char* s3; s3 = "Equal to 10\n\n"; int n; n = 0; char* hello; hello = "Hello\n"; while (n < 10){ puts(hello); n = n + 1; } int i; i = 11; test(i, 10, s1, s2, s3); test(i-2, 10, s1, s2, s3); test(i-1, 10, s1, s2, s3); return 0; }