Những câu hỏi liên quan
Lê thị anh thư
Xem chi tiết
Ngọc Ngô Hoàng Bảo
Xem chi tiết
Khinh Yên
23 tháng 7 2021 lúc 20:28

Tham khảo ạ

Even though I am not very interested in watching TV, I always turn it on for one program. It is “Bong Bóng và 7 câu hỏi địa lý” (Bubble Boy and 7 questions about Geography) – a popular program for the 11-15-year-old students which makes education fun. It is on VTV7 at 9:30, 15:00 and 19:00 from Monday to Friday. I always watch it when I can. This program is about the journey of Bubble Boy on his balloon to explore the beauty of different geographic regions from above. Besides discovering, he will work with students to find and memorize the geographical knowledge such as land, weather, climate, natural areas. I love the program because I can see many beautiful places with their interesting stories through cute animation. I wish they can continue this great program for longer and longer.

Biên Vi
Xem chi tiết
Nguyễn Lê Phước Thịnh
21 tháng 4 2021 lúc 21:16

uses crt;

var a:array[1..100]of integer;

i,n,t:integer;

begin

clrscr;

write('Nhap n='); readln(n);

for i:=1 to n do 

 begin

write('A[',i,']='); readln(a[i]);

end;

t:=0;

for i:=1 to n do 

  t:=t+a[i];

writeln(t);

readln;

end.

khôi
Xem chi tiết
khôi
4 tháng 4 2022 lúc 8:12

MỌI NGƯỜI ƠI GIÚP EM VỚI Ạ EM CẢM ƠN NHIỀU LẮM Ạ 

Viết chương trình nhập vào dãy số nguyên có N phần tử. - Tính tổng các số lẽ. - Tính tích các số chẵn.

trần anh khoa
4 tháng 4 2022 lúc 8:26

Viết chương trình nhập vào dãy số nguyên có N phần tử. - Tính tổng các số lẽ. - Tính tích các số chẵn.

mọi người giúp em với em cảm ơn ạ

Nguyễn Lê Phước Thịnh
4 tháng 4 2022 lúc 22:01

#include <bits/stdc++.h>

using namespace std;

long long a[1000],i,n,t1,t2;

int main()

{

cin>>n;

for (i=1; i<=n; i++) cin>>a[i];

t1=0;

t2=1;

for (i=1; i<=n; i++)

{

if (a[i]%2!=0) t1+=a[i];

else t2*=a[i];

}

cout<<t1<<endl;

cout<<t2<<endl;

return 0;

}

khôi
Xem chi tiết
Nguyễn Lê Phước Thịnh
4 tháng 4 2022 lúc 21:59

#include <bits/stdc++.h>

using namespace std;

long long a[1000],i,n,t1,t2;

int main()

{

cin>>n;

for (i=1; i<=n; i++) cin>>a[i];

t1=0;

t2=1;

for (i=1; i<=n; i++)

{

if (a[i]%2!=0) t1+=a[i];

else t2*=a[i];

}

cout<<t1<<endl;

cout<<t2<<endl;

return 0;

}

Thị Thảo Ly Hoàng
Xem chi tiết
Minh Lệ
13 tháng 3 2023 lúc 12:21

Program HOC24;

var i,n: integer;

s: longint;

begin

write('Nhap n: '); readln(n);

s:=0;

for i:=1 to n do s:=s+sqr(i);

write('S= ' ,s);

readln

end.

HT.Phong (9A5)
13 tháng 3 2023 lúc 12:27

Uses crt;

var i,n,y: integer;

begin clrscr;

readln(n);

for i:=1 to n do s:=i*i;

Writeln(s);

readln;

end.

Blink
Xem chi tiết
Kiều Vũ Linh
7 tháng 2 2022 lúc 14:24

var i,n:integer;

s:real;

begin

write('Nhap n = ');readln(n);

for i:=1 to n do

s:=s+1/(3*i+2);

write('Tong la ',s:10:2);

readln;

end.

Ngoc Anh Nguyen
Xem chi tiết
Kiều Vũ Linh
14 tháng 3 2023 lúc 9:24

Var a:array[1..100] of integer;

i,s:integer;

Begin

For i:=1 to 100 do

Begin

Write('Nhap phan tu thu ',i,' = ');readln(a[i]);

If a[i] mod 2 <> 0 then s:=s+a[i];

End;

Write('Tong la ',s);

Readln;

End.

Linh Lê
Xem chi tiết
Nguyễn Lê Phước Thịnh
11 tháng 3 2022 lúc 9:16

#include <bits/stdc++.h>

using namespace std;

long long i,t,dem;

int main()

{

dem=0;

t=0;

for (i=0; i<=10000; i++)

if (i%12==0) 

{

dem++;

t=t+i;

}

cout<<dem<<" "<<t;

return 0;

}