This C# console application scans a user-provided string for duplicate numbers and calculates the sum of all numbers found in between the duplicates. The program also checks for the presence of non-numeric characters within the range of the duplicates. If no non-numeric characters are found, it prints the range of numbers in green and adds their sum to the total sum.
Technologies Used:
- C#
Usage:
- Clone and Run the program.
- Enter a string containing numbers and other characters.
- View the sum of numbers and the highlighted ranges of duplicate numbers (if applicable).