C#: Find the number and sum of all integer between 100 and 200, divisible by 9
Write a C# Sharp program to find the number and sum of all integers between 100 and 200 divisible by 9.
Visual Presentation:
Sample Solution:
C# Sharp Code:
Sample Output:
Find the number and sum of all integer between 100 and 200, divisible by 9: ----------------------------------------------------------------------------- Numbers between 100 and 200, divisible by 9 : 108 117 126 135 144 153 162 171 180 189 198 The sum : 1683
Flowchart:
C# Sharp Code Editor:
Contribute your code and comments through Disqus.
Previous: Write a program in C# Sharp to check whether a number is a palindrome or not.
Next: Write a C# Sharp Program to display the pattern like pyramid using the alphabet.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics