//Writee a program that inputs a3 digit number finds the sumof these digits
#include <iostream.h>
#include <conio.h>
#include <math.h>
int main()
{
int num,num1,num2,num3,num4,s=0;
cout<<"Enter the Number: ";
cin>>num;
num1=num%10;
num2=num/10;
num3=num2%10;
num4=num2/10;
s=num1+num3+num4;
cout<<"The sum of digits= ";
cout<<s;
getch();
return0
}
This program I wrote but shows error in turboc++(4.5) it shows error I tried my best to correct but failed can you help me