Create to find the largest number with 3 numbers by passing an argument in macros.
Answers
Answered by
0
Answer:
WAP to find largest of 3 numbers using macros with Arguments and...
int i=20, j=95, k=10,max;
clrscr();
big=LARGEST(x,y,z);
printf(“\nLargest of %8.2f %8.2f %8.2f is %8.2f”,x,y,z,big);
max=LARGEST(i,j,k);
printf(“\nLargest of %8d %8d %8d is %8d”,i,j,k,max);
getch();
}
Similar questions
Math,
11 days ago
Math,
11 days ago
Environmental Sciences,
11 days ago
English,
9 months ago
Accountancy,
9 months ago