C#C
C#3y ago
rallez

print out all pairs of natural numbers whose sum isequal to the entered number n

Write an algorithm that prints out all pairs of natural numbers whose sum is
equal to the entered number n.
Example:
n = 7
Paris:
0 + 7
1 + 6
2 + 5
3 + 4

I have no clue how to introduce it into c# lang
Was this page helpful?