Paste
Pasted as C++ by registered user xujiayu ( 5 years ago )
#include <stdio.h>
#include <conio.h>
int main()
{
//bai tap 1 :nhap nam sinh cua mot nguoi , tinh tuoi nguoi do
int namsinh , tuoi;
printf("\nhay nhap nam sinh cua ban : ");
scanf("%d", &namsinh);
int namhientai = 2021;
tuoi= namhientai - namsinh;
printf("\nban sinh nam %d => ban %d tuoi", namsinh, tuoi);
getch();
return 0;
}
Revise this Paste