Professional Documents
Culture Documents
include<graphics.h>
include<stdio.h>
include<ctype.h>
Hàm main
include<math.h>
Khởi tạo:
Các hàm trong chương trình: -Thiết lập cửa sổ
-void layout(tạo nền máy tính và các nút)
-Set up các phím của máy tính cầm tay(qua hàm layout)
-float numgen(hỗ trợ hiển thị số trên màn hình)
-Khởi tạo các biến ban đầu:
-float add (thực hiện phép tính cộng)
+Biến remark , i , j , k , dp theo kiểu int
-float sub(thực hiện phép tính trừ)
+ Mảng num , number và biến ans theo kiểu float
-float mul(thực hiện phép tính nhân)
-float divi(thực hiện phép tính chia) +Biến task theo kiểu char
Kết thúc