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.

uses crt;

var a,b,c,tb:real;

begin

clrscr;

readln(a,b,c);

tb:=(a*2+b*2+c);

if (tb>=45) then writeln('Dau lop chuyen')

else if (tb>=40) then writeln('Dau lop tich hop')

else if (tb>=30) then writeln('Dau lop thuong')

else writeln('Rot');

readln;

end.

30 tháng 12 2021

#include <bits/stdc++.h>

using namespace std;

double a,b,c,tb;

int main()

{

cin>>a>>b>>c;

tb=(a+b)*2+c;

if (tb>=38) cout<<"Chuc man ban da thi dau tuyen sinh";

else cout<<"Ban da thi rot, chuc may man lan sau";

return 0;

}

10 tháng 4 2023

program DiemTB;

var

      diemToan, diemVan, diemTB: real;

begin

      write('Nhap diem mon Toan: ');

      readln(diemToan);

      write('Nhap diem mon Van: ');

      readln(diemVan);

      diemTB := (diemToan + diemVan) / 2;

      writeln('Diem trung binh: ', diemTB:0:2);

      if diemTB >= 5 then

            writeln('Chuc mung! Ban da dau ky thi.')

      else

            writeln('Rat tiec! Ban da truot ky thi.');

      readln;

end.

uses crt;

var a,b,tb:real;

begin

clrscr;

readln(a,b);

tb:=(a+b*2)/3;

writeln(tb:4:2);

if (tb>=8) then writeln('gioi')

else if ((tb>=6.5) and (tb<8)) then writeln('Kha')

else if ((tb>=5) and (tb<6.5)) then writeln('Trung Binh')

else writeln('Yeu');

readln;

end.

#include <bits/stdc++.h>

using namespace std;

double a,b,tb;

int main()

{

cin>>a>>b;

tb=(a+b*2)/3;

cout<<fixed<<setprecision(2)<<tb<<endl;

if (tb>=8.0) cout<<"Gioi";

else if ((tb>=6.5) and (tb<8)) cout<<"Kha";

else if ((tb>=5) and (tb<6.5)) cout<<"Trung binh";

else cout<"Yeu";

return 0;

}

#include <bits/stdc++.h>

using namespace std;

double a,b,tb;

int main()

{

cin>>a>>b;

tb=(a+b*2)/3;

cout<<fixed<<setprecision(2)<<tb<<endl;

if (tb>=8.0) cout<<"Gioi";

else if ((tb>=6.5) and (tb<8)) cout<<"Kha";

else if ((tb>=5.0) and (tb<6.5)) cout<<"Trung binh";

else cout<<"Yeu";

return 0;

}

27 tháng 12 2021

#include <bits/stdc++.h>

using namespace std;

double a,b,kq;

int main()

{

cin>>a>>b;

kq=(a+b*2)/3;

cout<<fixed<<setprecision(2)<<kq;

return 0;

}

3 tháng 1 2022

bạn ơi có sai gì ko vậy

19 tháng 12 2019

hộ mình với ạ 

uses crt;

var a,b,c,tb:real;

begin

clrscr;

readln(a,b,c);

tb:=(a*2+b*2+c);

if (tb>=45) then writeln('Dau lop chuyen')

else if (tb>=40) then writeln('Dau lop tich hop')

else if (tb>=30) then writeln('Dau lop thuong')

else writeln('Rot');

readln;

end.