Monday, September 8, 2008

i hav absolutely no idea if i'm gonna get screwed for such things in the future

#include

int Greetings (void) {
printf("Good Day Welcome to Assignment 2\n");


return 10;
}

void Check(int *x, int *y);
int x, y;

main () {
printf("%s\n", Greetings);

int Data_1, Data_2;
Check (&Data_1, &Data_2);


system("PAUSE");
return 0;
}

Check (int *x, int *y) {

printf("input 2 interger variables:\n");
scanf("%d%d", x, y);
printf("data 1 : %d\ndata 2 : %d\n", *x, *y);
}

No comments: