so nguyen lon nhat trong cac so 3 ;-5 ;6;12;-9;0
cho 3 so nguyen duong ty le lan luot voi cac so 2;3 va 5 biet hieu cua so lon nhat va so be nhat trong ba so do la 24 so lon nhat trong ba so do la : ............
Gọi 3 số đó lần lượt là a, b, c.
Ta có: \(\frac{a}{2}=\frac{b}{3}=\frac{c}{5}=\frac{c-a}{5-2}=\frac{24}{3}=8\)
=> c=8.5=40
Vậy số lớn nhất là 40.
ra cho khac dj mjh can loi giai ko fai may thu vo van nhe
cau 1: viet ct nhap 10 so nguyen tu ban phim ,cho biet so lon nhat (nho nhat) trong cac so do
cau 2:viet ct nhap 20 so nguyen tu ban phim ,tinh tong cac le trong so do
Câu 1:
Program HOC24;
var a: array[1..10] of integer;
min,max,i: integer;
begin
for i:=1 to 10 do
begin
write('Nhap so thu ',i,' : '); readln(a[i]);
end;
min:=32000; max:=0;
for i:=1 to 10 do
begin
if max<a[i] then max:=a[i];
if min>a[i] then min:=a[i];
end;
writeln('So lon nhat la :',max);
write('So nho nhat la : ',min);
readln
end.
Câu 2:
Program HOC24;
var a: array[1..20] of integer;
t,i: integer;
begin
for i:=1 to 20 do
begin
write('Nhap so thu ',i,' : '); readln(a[i]);
end;
t:=0;
for i:=1 to 20 do
if a[i] mod 2<>0 then t:=t+a[i];
writeln('Tong cac so le la :',t);
readln
end.
Tong cua cac so nguyen duong lon nhat co hai chu so voi so nguyen am nho nhat co ba chu so la
Tong cua cac so nguyen duong lon nhat co hai chu so voi so nguyen am nho nhat co ba chu so la
Tổng của chúng là:
99+(-999)=-900
Đáp số:-900
Chúc bạn học giỏi nha!!!
K cho mik vs nhé my mia
so nguyen am lon nhat co tong cac chu so la 52 ........
viet lien tiep cac so tu nhien tu1 den15, ta duoc mot so tunhien hay xoa di muoi chu so cua so vua nhan duoc va du nguyen thu tu cac so con lai de duoc a so lon nhat, b so be nhat viet cac so do
solonla23456789101112131415
sobela1234567891011121314
VIet ct nhao vao so nguyen duong
a. SO nguyen duong co bao nhieu chu so
b.Tinh tong cac so do
c.IN ra so lon nhat
uses crt;
var n,i,t,x,max:integer;
st:string;
a:array[1..255]of integer;
begin
clrscr;
repeat
write('N='); readln(n);
until n>0;
str(n,st);
writeln('So chu so cua ',n,' la: ',length(st);
t:=0;
for i:=1 to length(st) do
begin
val(st[i],a[i],x);
t:=t+a[i];
end;
writeln('Tong cua cac chu so cua ',n,' la: ',t);
max:=0;
for i:=1 to d do
if max<a[i] then max:=a[i];
writeln('So lon nhat la: ',max);
readln;
end.
tim cac so nguyen lon nhat
a < hoac = -5
Tim phan so lon nhat,khi chia cac phan so 24/7 va 18/11 cho no ta deu duoc cac thuong la so nguyen