Write a C# console application that outputs numbers between 1 and 99 whose first and second digits add up to 10.   The numbers that match the pattern should be output in descending order. The matches should be output first, each on a separate line. The numbers that don’t add up to 10 should be output on a single, comma-delimited line after the matches. Technical Requirements The application must be a .NET console application written in C#. The application should be contained in one .CS file. The output from the application must be identical to what is listed in "Output" below, so pay attention to the format of the expected output. Please ONLY publish the entire source code, DO NOT publish any paragraphs, instead ONLY publish the fully working source code of the entire problem. Output Match found for 91: (9,1) Match found for 82: (8,2) Match found for 73: (7,3) Match found for 64: (6,4) Match found for 55: (5,5) Match found for 46: (4,6) Match found for 37: (3,7) Match found for 28: (2,8) Match found for 19: (1,9) No match found for: 99,98,97,96,95,94,93,92,90,89,88,87,86,85,84,83,81,80,79,78,77,76,75,74,72,71,70,69,68,67,66,65,63,62,61,60,59,58,57,56,54,53,52,51,50,49,48,47,45,44,43,42,41,40,39,38,36,35,34,33,32,31,30,29,27,26,25,24,23,22,21,20,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.4: For Loops
Problem 7E: (Conversion) Write a C++ program to convert kilometers/hr to miles/hr. The program should produce a...
icon
Related questions
Question

Requirements

Write a C# console application that outputs numbers between 1 and 99 whose first and second digits add up to 10.   The numbers that match the pattern should be output in descending order. The matches should be output first, each on a separate line. The numbers that don’t add up to 10 should be output on a single, comma-delimited line after the matches.

Technical Requirements

The application must be a .NET console application written in C#.
The application should be contained in one .CS file.
The output from the application must be identical to what is listed in "Output" below, so pay attention to the format of the expected output.
Please ONLY publish the entire source code, DO NOT publish any paragraphs, instead ONLY publish the fully working source code of the entire problem.

Output
Match found for 91: (9,1)
Match found for 82: (8,2)
Match found for 73: (7,3)
Match found for 64: (6,4)
Match found for 55: (5,5)
Match found for 46: (4,6)
Match found for 37: (3,7)
Match found for 28: (2,8)
Match found for 19: (1,9)

No match found for:
99,98,97,96,95,94,93,92,90,89,88,87,86,85,84,83,81,80,79,78,77,76,75,74,72,71,70,69,68,67,66,65,63,62,61,60,59,58,57,56,54,53,52,51,50,49,48,47,45,44,43,42,41,40,39,38,36,35,34,33,32,31,30,29,27,26,25,24,23,22,21,20,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage