Here's the problem:
Write a program that will input values for A and B. Compare two values inputted and print which of the values is higher including the remark “Higher”.
So here's what i've done so far
main()
{
int A, B;
clrscr();
printf("Input Value for A: ");
scanf("&d", &A);
printf("Input Value for B: ");
scanf("%d", &B);
if (A>B);
printf("%d is Higher\n", A);
getch();
}
The problem i'm having is when i input for example:
Input Value for A: 3
Input Value for B: 10
3 is Higher