Loading Preview
Sorry, preview is currently unavailable. You can download the paper by clicking the button above.
Bài 5. Viết chương trình nhập vào ba số a, b, c. In ra màn hình số lớn nhất, số nhỏ nhất trong ba số. Code c:#include int main[] { int a, b, c, min, max; printf["Nhap so thu nhat: "]; scanf["%d", &a]; printf["Nhap so thu hai: "]; scanf["%d", &b]; printf["Nhap so thu ba: "]; scanf["%d", &c]; min=max=a; if[b>max] max=b; if[c>max] max=c; printf["\nSo lon nhat la %d", max]; if[b Chủ Đề |