1. الرئيسية
  2. /
  3. المدوّنة
  4. /
  5. built in functions in c++ cmath
سي بلس بلس

built in functions in c++ cmath

October 1, 2022 1 دقيقة قراءة 2,214
built in functions in c++ cmath

#include <iostream>
#include <cmath>
using namespace std;
int main()
{
// ceil   floor  fabs   pow  sqrt    fmod


	cout<< ceil(3.4)<<endl;
cout<<floor(3.4)<<endl;
cout<<fabs(-5)<<endl;
cout<<pow(2 ,3 )<<endl;
cout<<sqrt(9)<<endl;
cout<<fmod(5,2)<<endl;



}
شارك المقال:
اقرأ أيضاً

مقالات ذات صلة