1. Trang chủ
  2. » Giáo án - Bài giảng

bai 4 Su dung bien trong chuong trinh

11 274 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 11
Dung lượng 779,5 KB

Nội dung

   !"#$%&' ($)*+,! -. /%012345467. 89:454;< /67*+,!=3>*+,!". 89:?5@;<  A-B.C-*+,!*D !7.  E*7. ?←FF54F @←?GH I←?G4 100 50 3 + 100 50 5 + BJ!*$  A%!*$!$K7. 5J!*$  < 5J!*$  ,! A- C$ . 5VarL% !,!%!*$M 5 m,n* %"6:99;M 5S, dientich* %&:9!;M 5thong_bao%=N:O; E*%!*$. VarP!O*Q.P%6 R Q (!O*7 R !"S6M*6 *!TUV"  J  6 R W  7 R  $ * % V !" %6 R $W+X! BJ!*$ HYZ$'  [\OZ!1&*!$*. 5Khai báo3%$ M 5Nhập giá trị$$]**+$M 5Tính tóan>*+,!         J6 R *$ W1>% %*7 R *+7>M*+ ^,!O_7U `*+,! !"#a U%W7$$'  HYZ$'  ENOZ. 5b*+$L-7 Readln (tên biến); 5b**+$ Tên biến:= Biểu thức cần gán giá trị cho biến Lệnh Ý nghĩa X:=12; `**+O\B$>X X:=Y; `**+c$>Y$> X X:=(a+b)/2; C&2$*-3!* +d7$!>abJ01*$ >X X:=X+1; Ce*+,!>X673'+M%01 *TaX HYZ$' fgd  gda *+%#$ O\0*&'  gd1**+!"%%!*$ E*%!*$d Const tên hằng = giá trị của hằng A-. hC$ . constL% !%!*$d E*dpiMbankinh**+'D HfB d*a] 6`*+,!     !" #M i * + ,! d   "6$O\0* &' Bd1%!*$> %OZ `g/jgk [...].. .Trong Pascal, khai báo nào sau đây là đúng ? A Var tb: real; B Var 4hs: integer; C Const x: real D Var R= 30 . !"#$%&' ($)*+,! -. /%0123 45 467. 89: 45 4;< /67*+,!=3>*+,!". 89:?5@;< .  A-B.C-*+,!*D !7.  E*7. ?←FF54F @←?GH I←?G4 100 50 3 + 100 50 5 + BJ!*$  A%!*$!$K7. 5J!*$  < 5J!*$  ,! A- C$. "6$O0* &' Bd1%!*$> %OZ `g/jgk   A A Var tb: real; B B Var 4hs: integer; D D Var R= 30 C C Const x: real Trong Pascal, khai báo nào sau đây là đúng ?

Ngày đăng: 20/05/2015, 13:00

w