Flowchart (ISO 5807)
Source code
C#
class Program {
static double Exp(double x, int n) {
double term = 1;
double sum = 1;
for (int i = 1; i < n; i++) {
term = term * x / i;
sum = sum + term;
}
return sum;
}
}The editor opens with this code — change it and the chart redraws.
- Language
- C#
- Constructs
- series accumulation
- Topic
- Algorithms
- Formats
- Word, Visio, draw.io, PDF, SVG