C#: Compute the sum of the two given integers
Sum is 18 if One Value in 10-20 Range
Write a C# Sharp program to compute the sum of the two given integers. Return 18 if one of the given integer values is in the range of 10..20 inclusive.
visual Presentation:

Sample Solution:-
C# Sharp Code:
Sample Output:
10 18 18 241
Flowchart:

C# Sharp Code Editor:
Improve this sample solution and post your code through Disqus
Previous: Write a C# Sharp program check if a given number is within 2 of a multiple of 10.
Next: Write a C# Sharp program to check whether a given string starts with "F" or ends with "B".
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.