لغة ال++Cخطوة بخطوة: post #1213 — TG.ME

♥️🎗بـــرنــ₰6⃣2⃣₰❥ـامــــج 🎗♥️

👈  حل المعادلة

❥➺┊
@programming_languages_IT_CS
!؟ ـــــہہـ٨ــ♡ـــــہہـ٨ــ♡ــــــــــــ❥ــہہ00:00:00

#include<iostream.h>
using namespace std;
#include<cmath>
void f(int x)
{double result, b;
if(x>=0)
{
result=3-cos(2*x);
cout<<sqrt(result);
}
else
{
b=pow(x,1.0/8.0);
result=pow(x,1.0/5.0)-log10(b);
cout<<result;
}
}
int main()
{
int a;
cout<<"Enter the value x=";
cin>>a;
f(a);
}
!؟ ـــــہہـ٨ــ♡ـــــہہـ٨ــ♡ــــــــــــ❥ــہہ00:00:00

محمد الحسيني
╭─┅═ঊঈঊঈ═┅─╮
☛   
@alhussini_IT   ☚
╰─┅═ঊঈঊঈ═┅─╯

انتهى.....
❤2👍1
April 21, 2024 4.9K 16