-
عضو جديد
هذا جواب ال largest بس
#include<iostream>
using namespace std;
void main()
{
int a,b,c;
cout<<"Enter first integer:"<<endl;
cin>>a;
cout<<"Enter second integer:"<<endl;
cib>>b;
cout<<"Enter first integer:"<<endl;
cout<<"Enter third integer:"<<endl;
cin>>c;
if (a>=b+c)
else if (b>=a+c)
cout<<"Largest is "<<b<<endl;
else if( c>=a+b)
cout<<"Largest is "<<c<<endl;
}
ضوابط المشاركة
- لا تستطيع إضافة مواضيع جديدة
- لا تستطيع الرد على المواضيع
- لا تستطيع إرفاق ملفات
- لا تستطيع تعديل مشاركاتك
-
قوانين المنتدى