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.

#include <bits/stdc++.h>
using namespace std;
double a,b,c,tbc;
int main()
{
cin>>a>>b>>c;
tbc=(a*3+b*2+c*3)/8;
cout<<fixed<<setprecision(2)<<tbc;
return 0;
}

bạn phải cho biết bao nhiêu điểm HS 1, bao nhiêu điểm HS 2, bao nhiêu điểm HS 3 thì mới làm được chứ

Nếu chưa học câu lệnh này thì rep lại cho mình để mình dùng mấy câu lệnh đã học từ b8 trở về trước nhá! Good luck for you :D

#include <bits/stdc++.h>
using namespace std;
double a[100],t;
int n,i;
int main()
{
cin>>n;
for (i=1; i<=n; i++) cin>>a[i];
for (i=1; i<=n; i++)
cout<<"Diem cua ban thu "<<i<<" la: "<<fixed<<setprecision(2)<<a[i]<<endl;
t=0;
for (i=1; i<=n; i++) t+=a[i];
cout<<"Trung binh cua lop la: "<<fixed<<setprecision(2)<<t/(n*1.0);
return 0;
}

#include <bits/stdc++.h>
using namespace std;
double a,b,c,d,t;
int main()
{
cin>>a>>b>>c>>d;
t=(a*3+b*2+c+d)/7;
cout<<fixed<<setprecision(2)<<t<<endl;
if (t>=8) cout<<"Gioi";
else if ((t>=6.5) and (t<8)) cout<<"Kha";
else if ((t>=5) and (t<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;
}

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.
var m, ph1, ph2, t1, t2, hk, tb : real;
begin
clrscr;
writeln ('Nhap ');
write ('Mieng: '); readln (m);
write ('15 phut 1: '); readln (ph1);
write ('15 phut 2: '); readln (ph2);
write ('1 tiet 1: '); readln (t1);
write ('1 tiet 2: '); readln (t2);
write ('Hoc ki: '); readln (hk);
tb := (m+ph1+ph2+t1*2+t2*2+hk*3)/10;
write ('Diem trung binh: ',tb:2:1); {chỉ lấy 1 phẩy sau, nên chừa khoảng trống là 2}
readln
end.