#include<stdio.h>
int main()
{
int A,C;
char B;
scanf("%d %c %d",&A,&B,&C);
if(B == '+')
{
printf("%d + %d = %d\n",A,C,A+C);
}
//else if(B == '-') //বাকিগুলো নিজেরা চেষ্টা কর।
else
{
printf("input is wrong.\n");
}
return 0;
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.