Viết ct nhập một dãy số nguyên a gồm n phần tử.in ra các phần tử chính phương
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.


Program HOC24;
var i,n: integer;
a: array[1..1000] of integer;
function nt(x: integer): boolean;
var j: integer;
begin
nt:=true;
if (x=2) or (x=3) then exit;
nt:=false;
if (x=1) or (x mod 2=0) or (x mod 3=0) then exit;
j:=5;
while j<=trunc(sqrt(x)) do
begin
if (x mod j=0) or (x mod (j+2)=0) then exit;
j:=j+6;
end;
begin
write('Nhap n: '); readln(n);
for i:=1 to n do
begin
write('a[',i,']='); readln(a[i]);
end;
for i:=1 to n do if nt(a[i]) then write(a[i],' ');
readln
end.

a) - Đưa que đóm đang cháy vào:
+ Bùng cháy mãnh liệt hơn: O2
+ Cháy với ngọn lửa xanh, có tiếng nổ nhỏ: H2
\(2H_2+O_2\xrightarrow[]{t^o}2H_2O\)
+ Vụt tắt: CO2
b) - Cho tác dụng với quỳ tím:
+ Hóa xanh: NaOH
+ Hóa đỏ: HCl
+ Không đổi màu: H2O
c) - Cho tác dụng với quỳ tím:
+ Hóa xanh: NaOH, Ca(OH)2 (1)
+ Hóa đỏ: H2SO4
+ Không đổi màu: BaCl2
- Sục khí CO2 vào dd (1):
+ Có kết tủa: Ca(OH)2
\(Ca\left(OH\right)_2+CO_2\rightarrow CaCO_3\downarrow+H_2O\)
+ Không hiện tượng: NaOH

Đây là dạng bất phương trình chứa ẩn trong dấu giá trị tuyệt đối em nhé:
Kiến thức cần nhớ: |F(\(x\))| ≤ a ( a > 0) ⇔ -a ≤ F(\(x\)) ≤ a
Giải:
2|2\(x\) - 5| ≤ 6 ⇔ |2\(x\) - 5| ≤ 6: 2 = 3
⇔ |2\(x\) - 5| ≤ 3 ⇔ -3 ≤ 2\(x\) - 5 ≤ 3 ⇔ -3 + 5 ≤ 2\(x\) ≤ 3 + 5
⇔ 2 ≤ 2\(x\) ≤ 8 ⇔ 1 ≤ \(x\) ≤ 4 vì \(x\in\) Z nên \(x\) \(\in\) { 1; 2; 3; 4}

Khối lượng NaOH có trong 30 gam dung dịch NaOH 15% là:
m(NaOH) = 15/100 x 30 = 4,5 gam
Gọi x là khối lượng NaOH cần thêm vào dung dịch trên. Khối lượng NaOH trong dung dịch cuối cùng là:
m(NaOH) = 22/100 x (30 + x) = 6,6 + 0,22x gam
Cân bằng hai biểu thức, chúng tôi nhận được:
4,5 + x = 6,6 + 0,22x
=> x = 2,1/0,78 = 2,69 gam
Vậy khối lượng NaOH cần thêm vào dung dịch trên là 2,69 gam.

In the world there are many big cities but the one I like the most is Tokyo, in Japan. This city is the capital of Japan. Not only that, but Tokyo is also an administrative center of Japan and the world. Tokyo is considered a culinary paradise, where you will enjoy dishes from popular to high-end dishes. One of them is Sushi - a famous traditional dish of Japan that the whole world knows is also produced from this city, especially exploring Ebisu with grilled meat, vegetables, hot pot, sashimi … At the same time, many dishes in the train station area are very convenient for passengers at the station as well as nearby. Explore the many other dishes in the basement or head to Honoji to find food from the menu on the wall. In addition to the domestic food, in Tokyo you can enjoy other dishes from other countries such as America, France, Germany ... In addition to eating, Tokyo is also a place to shop with cheap and affordable items to types of high-class products with famous brands in the world. In addition, in Tokyo there is a Japanese crab symbol, which is the Tokyo Tower. The most popular in japan is the blossom tree '' sakura'',....
trong dãy đó, bạn có thể sử dụng ngôn ngữ lập trình Python như sau:
```python
n = int(input("Nhập số phần tử của
dãy: "))
a = []
for i in range(n):
a.append(int(input("Nhập phần tử thứ
{}: ".format(i+1))))
print("Các số nguyên tố trong dãy
là:")
for num in a:
if num > 1:
for i in range(2, int(num/2)+1):
if (num % i) == 0:
break
else:
print(num\()\) '''
# Ninh OSS