| 5 | #include <iostream> |
| 6 | using namespace std; |
| 7 | int main5() |
| 8 | { |
| 9 | float sum = 0, fact = 1; |
| 10 | for (int i = 1; i <= 7; i++) |
| 11 | { |
| 12 | fact = fact * i; |
| 13 | sum += i / fact; |
| 14 | } |
| 15 | cout << "Sum is : " << sum << endl; |
| 16 | system("pause"); |
| 17 | return 0; |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected