//3 ta son ber-n musbatlari sonini topish.
#include
using namespace std;
int main ()
{
int a, b, c, p=0;
cout << "a="; cin >> a;
cout << "b="; cin >> b;
cout << "c="; cin >> c;
if (a>=0) p++;
if (b>=0) p++;
if (c>=0) p++;
cout<<"musbatlari soni= "<
}
#include
#include
using namespace std;
main()
{int a,b,c,l1,l2,y;
cout<<"A= ";
cin>>a;
cout<<"B= ";
cin>>b;
cout<<"C= ";
cin>>c;
if(al1=a+b;
l2=b+c;}
else {cout<<"kiritilgan soningiz (A
y=l1+l2;
cout<<"AC= "<
cout<<"BC= "<
cout<<"AC va BC kesmalarining yig`indisi= "<
Do'stlaringiz bilan baham: |