Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- program cau6;
- uses crt;
- var i,n,s,t:integer;
- begin
- clrscr;s:=0;
- write('Nhap n= ');readln(n);
- for i:=1 to n do
- begin
- write('a[',i,']= ');readln(t);
- if t mod 2 <> 0 then inc(s);
- end;
- write('Day so co ',s,' so le');
- readln;
- end.
Add Comment
Please, Sign In to add comment