#include <stdio.h>
//function to return a character equivalent of th higher of two
number
char Calculation(int a, int b)
{
//variable declaration
int high;
char ch;
//find the highest number
if(a>b)
high = a;
else
high = b;
//convert into character equivalent
ch = high +'0';
//return statement
return ch;
}
int main()
{
//function calling and display result
printf("%c", Calculation(5, 17));
return 0;
}
OUTPUT:
A
Get Answers For Free
Most questions answered within 1 hours.