3-topshiriq:
#include #include using namespace std;
int main()
{
float y, r, m;
cout<<"r="; cin>>r;
cout<<"m="; cin>>m;
if (fabs(r)>(fabs(m)+0.5))
{
y=((4*r)+(3*m))/((pow(r,2))+(pow(m,2)));
cout<<"Y="< }
if (fabs(r)<=(fabs(m)+0.5))
{
fabs(r-m);
{cout<<"Y="<
4-topshiriq
#include
using namespace std;
int main()
{
float v, u, t1, t2, s;
cout<<"Qayiqni turg'un suvdagi tezligi V=";cin>>v;
cout<<"Oqimni tezligi U="; cin>>u;
cout<<"Ko'ldagi vaqti T1="; cin>>t1;
cout<<"Daryodagi vaqti T2="; cin>>t2;
s=(v*t1)+(u*t2);
cout<<"Qayiq bosgan umumiy yo'l "<return 0;
}