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.

22 tháng 3 2021

program tinh;

uses crt;

var a;b:integer;

   C:real;

begin

  clrscr;

write('ban hay nhap so nguyen a,a='); read(a);

write('ban hay nhap so nguyen b,b='); read(b);

C=a*b/2;

write('gia tri bieu thuc C la,C=',C);

delay(5000);

end.

Bài 2: 

#include <bits/stdc++.h>;

using namespace std;

int main();

{

long m,n;

cout<<"Nhap m="; cin>>m;

cout<<"Nhap n="; cin>>n;

cout<<m*n-2;

return 0;

}

12 tháng 5 2021

Câu 2:

Program nii;

Uses crt;

Var a,b,c,A:integer;

Begin

Write ('nhap a');

Readln (a);

Write ('nhap b');

Readln (b);

Write ('nhap c');

Readln (c);

A:=a;

If A<b then A:=b;

If A<c then A:=c;

Write ('Ket qua',A);

Readln;

End.

12 tháng 5 2021

Câu 1

Program ntg;

Uses crt;

Var A,x,y:integer;

Begin

Write ('nhap x');

Readln (x);

Write ('nhap y');

Readln ('y');

A:=x+y;

Write ('Ket qua',A);

Readln;

End.

 

31 tháng 10 2021

#include <bits/stdc++.h>

using namespace std;

long long a,b;

int main()

{

cin>>a>>b;

cout<<max(a,b);

return 0;

}

19 tháng 11 2021

program tin_hoc;
uses crt;
var b,c,d,A:realn;
begin
clrscr;
         write('nhap so b');readln(b);
         write('nhap so c');readln(c);
         write('nhap so d');readln(d);
         A:=(b+c)/d;
         writeln('A=');
end.

13 tháng 11 2021

#include <bits/stdc++.h>

using namespace std;

double a,b;

int main()

{

cin>>a>>b;

cout<<fixed<<setprecision(2)<<pow((2*a+5*b),2);

return 0;

}