Viết chương trình nhập vào điểm lý thuyết và thực hành của môn tin học( Điểm là số thực). Tính điểm trung bình theo công thức (điểm lý thuyết+điểm thực hành*2)/3. In ra thông báo đậu hay rớt biết: - Nếu Điểm trung bình>=5: Đậu - Ngược lại (<5): Rớt

2 câu trả lời

program gfrewagniafnkwef;
uses crt;
var diemlt, diemth: real;
    diem: real;
begin
  clrscr;
  writeln('Nhập điểm lý thuyết và trung bình. ');
  readln(diemlt, diemth);
  diem := (diemlt + 2*diemth)/3;
  if diem >= 5.0 then writeln('Đậu!')
  else write('Rớt rồi!');
  readln
  end.

cho cái 5 sao với câu trả lời hay nhứt nghen! 

uses crt;

var lt,th,tb:real;

begin

clrscr;

write('nhap diem ly thuyet, thuc hanh: ');

readln(lt,th);

tb:=(lt+th*2)/3;

if tb>=5 then writeln('chuc mung, ban da dau')

else

writeln('rot, nhung co gang len nhe');

readln

end.

Câu hỏi trong lớp Xem thêm

Em cần gấp ạaaa

Read the following passage and mark the letter A, B, C, or D on your answer sheet to indicate the correct answer to each of the questions.

English is one of the most popular languages in the world.It comes second in the number of speakers after Chinese.In Vietnam, more and more people are studying English and they consider it a key to success.However, not everyone knows how to learn English effectively.

The best way to improve the four skills: speaking, listening, reading, and writing is to practice regularly.You should make use of every opportunity to speak English with friends in class or at English speaking clubs or ourselves in front of the mirror.Learning by heart all the words does not help much if you do not read a lot because you will easily forget what you have learnt.Reading books, listening to radio and watching films are better ways to memorize words.Besides.English learners should not be so shy because making mistakes is unavoidable in learning foreign languages.Practicing speaking a lot is a good way to correct your mistakes.

39. The word “memorize" in paragraph 2 is CLOSEST in meaning to ______.

A. remember​B. forget ​C. communicate

40. A good way to correct your mistakes is ________.

A. avoiding speaking English

B. stopping learning English

C. practicing speaking English a lot

41. According to the passage, which of the following statements is TRUE?

A. You should never speak English with yourselves.

B. Many Vietnamese people consider English a key to success.

C. English learner should be shy if they make mistakes.

42. The passage is mainly about ______.

A. how to learn English effectively

B. people who study English in Vietnam

C. how to read books, listen to radio and watch films

Mark letter A, B, C or D on your answer sheet to indicate the sentence that is closest in meaning to the original sentence in each of the following questions.

43. He told her about the book. He liked it best.

A. He told her about the book which he liked it best.

B. He told her about the book which he liked best.

C. He told her about the book whom he liked best.

D. He told her about the book whose he liked best.

44. I always give my mother flowers on Mother’s Day.

A. My mother always is given flowers on Mother’s Day.

B. Flowers is always given by my mother on Mother’s Day.

C. My mother is always given flowers on Mother’s Day.

D. My mother is given always flowers on Mother’s Day.

45. I'm looking for a job as a secretary.

A. I'm looking for someone who works as a secretary.

B. I'm trying to find a job as a secretary.

C. A secretary is looking for a job as my job.

D. I was offered a job as a secretary.

46. Mr.Richards lost his job because he was late every day.

A. If Mr.Richards were late every day, he would lose his job.

B. If Mr.Richards had been late every day, he would have lost his job.

C. If Mr.Richards weren't late every day, he wouldn't lose his job.

D. If Mr.Richards hadn't been late every day, he wouldn't have lost his job.

47. The black dress is more expensive than the white one.

A. The black dress is cheaper than the white one.

B. The black dress is not as expensive as the white one.

C. The white dress is not as expensive as the black one.

D. The white dress is as expensive as the black one.

48. Although she is intelligent, she doesn't do well at school.

A. In spite of intelligent, but she doesn't do well at school.

B. Despite being intelligent, she doesn't do well at school.

C. Even though her intelligence, she doesn't do well at school.

D. In spite the fact that she is intelligent, she doesn't do well at school.

49. The dictionary was so expensive that I didn't buy it.

A. The dictionary was enough expensive for me to buy.

B. The dictionary was too expensive for me to buy it.

C. It was an expensive dictionary so that meant I didn't buy.

D. It was so an expensive dictionary that I didn't buy it.

50. "Don't walk on the grass", the gardener said to us.

A. The gardener said to us don't walk on the grass.

B. The gardener told us not to walk on the grass.

C. The gardener suggested us not to walk on the grass.

D. The gardener advised us not walking on the grass.

2 lượt xem
1 đáp án
17 giờ trước