Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions 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
Check Mark
Knowledge Booster
Background pattern image
Computer Science
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
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education