K
Khách

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.

24 tháng 3 2021

cảm ơn các bạn nhiều nhé

24 tháng 3 2021

alec: (49 - 1)/2 +1 = 25 số

peter : (38 - 4)/2 +1 = 18 số

cả 2 : 25 + 18 = 43 số

24 tháng 3 2021

Sửa:

\(\hept{\begin{cases}\left(49-1\right):2+1=25\\18+25=43\end{cases}}\) (chữ số)

1.      …… ….. swims faster: you or Alec?                             Alec swims faster.2.      ……….. is your new car?                                               It’s very expensive.3.      ……….. will you spend your holiday?                          In Greece, I think.4.      ……….. will you go to Paris?                                        By plane.5.      …… whose ….. bag is it?                                                          It’s Tom’s bag.6.      ___ can I park my car?...
Đọc tiếp

1.      …… ….. swims faster: you or Alec?                             Alec swims faster.

2.      ……….. is your new car?                                               It’s very expensive.

3.      ……….. will you spend your holiday?                          In Greece, I think.

4.      ……….. will you go to Paris?                                        By plane.

5.      …… whose ….. bag is it?                                                          It’s Tom’s bag.

6.      ___ can I park my car?                                                   Over there.

7.      ___ tall are you?                                                             1m6

8.      ___ do you expect me to do?                                         Go out at once.

9.      ___ picture do you prefer, this one or that one?             That one.

10.  ___ book is this?                                                             It's mine.

11.  ___ is your blood type?                                                  B

12.  ___ do you play tennis?                                                  For exercise.

13.  ___ can I buy some milk?                                              At the supermarket.

14.  ___ much do you weigh?                                               60kg

  _____ have you lived in London?                            For three years

0

1:

uses crt;

var t,x,i,n:integer;

begin

clrscr;

t:=0;

n:=10;

for i:=1 to n do

begin

readln(x);

t:=t+x;

end;

write(t);

readln;

end.

2: 

uses crt;

var dem,x,i,n:integer;

begin

clrscr;

dem:=0;

n:=10;

for i:=1 to n do

begin

readln(x);

if x mod 2=0 then inc(dem);

end;

write(dem);

readln;

end.

4 tháng 4 2023

3

program Cacsole;
uses crt;
var M, N, i: integer;
begin
clrscr;
write ('Nhap M= '); readln(M);
write ('Nhap N= '); readln(N);
for i := M to N do

if  i mod 2 = 1 then
write (i,' ');
readln;
end.

25 tháng 4 2023

Program HOC24;

var i,n: integer;

t1,t2: longint;

begin

write('Nhap so phan tu cua day: '); readln(a[i]);

for i:=1 to n do

begin

write('Nhap phan tu thu ',i,': '); readln(a[i]);

end;

t1:=0; t2:=0;

for i:=1 to n do if a[i] mod 2=0 then t1:=t1+a[i] else t2:=t2+a[i];

writeln('Tong cac so chan la: ',t1);

write('Tong cac so le la: ',t2);

readln

end.

Bài 1: 

#include <bits/stdc++.h>

using namespace std;

long long a[10],n,i,t;

int main()

{

n=0;

do 

{

cin>>a[i];

}

while ((a[i]==0) or (n==10));

for (i=1; i<=n; i++) cout<<a[i]<<" ";

cout<<endl;

t=0;

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

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

cout<<t;

return 0;

}

24 tháng 1 2022

bạn có thể code bằng c căn bản chỉ dùng printf while vs for thôi đc ko bạn

 

23 tháng 5 2017

Bạn đọc, em viết và ngược lại. Sau đó kiểm tra lẫn nhau

6 tháng 1 2017

Bạn đọc, em viết và ngược lại. Sau đó kiểm tra lẫn nhau