#include<stdio.h>
main()
{
float kq;
int a,b;
char kitu;
_flushall();
printf("nhap a");
scanf("%d",&a);
printf("nhap b");
scanf("%d",&b);
printf("nhap kitu");
scanf("%c",&kitu);
switch(kitu)
case 1
if (kitu='+')
kq=a+b;
printf("%f",kq);
break;
1 trường hợp là zậy đúng ko a
Bookmarks