Những câu hỏi liên quan
HN
Xem chi tiết
HN
Xem chi tiết
HN
Xem chi tiết
KT
Xem chi tiết
BU
Xem chi tiết
NT
13 tháng 11 2021 lúc 0:08

#include <bits/stdc++.h>

using namespace std;

double a,b,c,p,s;

int main()

{

cin>>a>>b>>c;

p=(a+b+c)/2;

s=sqrt(p*(p-a)*(p-b)*(p-c));

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

return 0;

}

Bình luận (0)
BU
Xem chi tiết
NT
13 tháng 11 2021 lúc 0:09

1: 

uses crt;

var a,b,c,max,min:longint;

begin

clrscr;

readln(a,b,c);

max=a;

if max<b then max:=b;

if max<c then max:=c;

min:=a;

if min>c then min:=c;

if min>b then min:=b;

writeln(max,' ',min);

readln;

end.

Bình luận (1)
H24
Xem chi tiết
MY
10 tháng 6 2021 lúc 12:17

1.2 với \(x\ge0,x\in Z\)

A=\(\dfrac{2\sqrt{x}+7}{\sqrt{x}+2}=2+\dfrac{3}{\sqrt{x}+2}\in Z< =>\sqrt{x}+2\inƯ\left(3\right)=\left(\pm1;\pm3\right)\)

*\(\sqrt{x}+2=1=>\sqrt{x}=-1\)(vô lí)

*\(\sqrt{x}+2=-1=>\sqrt{x}=-3\)(vô lí
*\(\sqrt{x}+2=3=>x=1\)(TM)

*\(\sqrt{x}+2=-3=\sqrt{x}=-5\)(vô lí)

vậy x=1 thì A\(\in Z\)

 

Bình luận (0)
HN
Xem chi tiết
CD
Xem chi tiết
DH
8 tháng 9 2021 lúc 22:14

37 have just been finished

38 seen my sister for 3 weeks

39 snow, all flights wouldn't be cancelled

40 I can't swim, I don't go scuba diving with Terry

Bình luận (0)