#include <stdio.h>
#include <stdlib.h>
int add(int x,int y)
{
int z;
z = x+y;
return z;
}
int min(int x,int y)
{
int z;
z = x-y;
return z;
}
int mul(int x,int y)
{
int z;
z = xy;
return z;
}
float chufa(int x,int y)
{
float z;
z = (float)x/y;
return z;
}
void tips()
{
printf("***********************\n");
printf(“请输入一种算法**\n”);
printf("************************\n");
printf("************************\n");
printf("************************\n");
}
void tipswhichcalc(char suanfa)
{
switch(suanfa){
case’+’:
printf(“你输入了加法\n”);
break;
case'-':
printf("你输入了减法\n"