Paste
Pasted as C++ by registered user xujiayu ( 5 years ago )
#include <stdio.h>
#include <conio.h>
int main()
{
//nhap ten san pham , so luong va don gia
//tinh tien va thue gia tri gia tang phai tra
int tensanpham,soluong,dongia;
soluong= 15;
dongia=15000;
printf("\nhay nhap ten san pham: ");
scanf("%d",&tensanpham);
int tien;
tien= soluong*dongia;
int thue;
thue= tien*0.1;
printf("\ntien %d,\nthue %d",tien,thue);
getch();
return 0;
}
Revise this Paste