can anyone help me convert my c program so it works on a linux system or mac? thank you.
#include<stdio.h>
#include<math.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
int c;
int a, b;
char d;
pov:system("cls");
printf("Enter the first number\n");
a=getch()-48;
system("cls");
printf("Enter the function:\n");
d=getch();
system("cls");
printf("Enter the second number\n");
b=getch()-48;
system("cls");
while (0==0)
{
if (d=='*')
{
a=a*b;
}
if (d=='/')
{
a=a/b;
}
if (d=='+')
{
a=a+b;
}
if (d=='-')
{
a=a-b;
}
printf("value is %d \n",a);
printf("Press 'q' to quit, or press other key to repeat data input\n");
c=getch();
if((c=='q')||(c=='Q')) return;
goto pov;
}
}