Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 4 years ago

Language

C

Compiler

gcc 10.1.0

Options
Warnings
Compiler Default
no pedantic

Author

anonymous

about 4 years ago

$ gcc prog.c -Wall -Wextra
This program calculates e^x
using sum of (x^k)/k!
Enter x, n : x,n =   1.0000   12
e^x =   2.7182818283
Exit Code:
0