#include #include using namespace std; int main() { // cout << ceil(5.34) << endl; cout << ceil(5.34) << endl; cout << exp(3) << endl; // double pi = 3.14159265358979; // double pi = atan2 (0, -1); double pi = acos(-1); printf ("Value of PI %5.3f in 3 places after the decimal\n", pi); printf ("Value of PI %5.3f in 3 places after the decimal\n", pi); printf ("Value of PI %7.4f in 4 places after the decimal\n", pi); printf ("Value of PI %1.4f in 4 places after the decimal\n", pi); printf ("5 is also %1.3f with 3 places after the decimal.\n", 5.0); int count = 12; printf ("Hello %10d, how are you?\n", count); printf ("Hello %-10d, how are you?\n", count); printf ("Hello %1d, how are you?\n", count); cout << time(NULL) << endl; return 0; }