Paste
Pasted as C++ by registered user xujiayu ( 5 years ago )
#include<stdio.h>
#include<conio.h>
int main()
{
//bai tap 2 : nhap 2 so a va b tinh tong hieu tich thuong cua 2 so do .
int a,b;
a=8,b=5;
int tong ,hieu ,tich, thuong;
tong= a+b;
hieu= a-b;
tich= a*b;
b>0;
thuong=(float) a/b;
printf("\ntinh tong hieu tich thuong cua 2 so a,b");
printf("\ntong : %d,\nhieu : %d,\ntich : %d,\nthuong : %d",tong ,hieu ,tich,thuong);
getch();
return 0;
}
Revise this Paste
Children: 116613