delete pics to save space

This commit is contained in:
2023-08-03 09:22:52 +08:00
commit de60cd6ed4
1334 changed files with 66221 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#include<cstdio>
using namespace std;
int main()
{
int a,b;
char f;
scanf("%d%c%d",&a,&f,&b);
switch(f)
{
case '+':printf("%d\n",a+b);break;
case '-':printf("%d\n",a-b);break;
case '*':printf("%d\n",a*b);break;
case '/':
if(b==0) printf("Divided by zero!\n");
else printf("%d\n",a/b);
break;
default:printf("Invalid operator!\n");j
}
return 0;
}