© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
33 replies
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
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
needed to get 100 pairs of number find all the biggest numbers output is the lowest number
C
C# / help
3y ago
sum of all numbers in between [Answered]
C
C# / help
4y ago
❔ Trying to find a way so it shows the sum of all the numbers entered and the also the average.
C
C# / help
3y ago
Find the square root of the sum of the digits of a three-digit natural number.
C
C# / help
4y ago