โ Back to Interfaces
Question 604
Build a Formatted Description
Build a Formatted Description
The interfaceIProductdeclaresstring Describe(). TheBookclass stores a title and a price. CompleteDescribe()so it returns the title, thencosts $, then the price. Do NOT write aMainmethod. For aBookwith titleC# Basicsand price15the program prints: C# Basics costs $15
Expected Output:
C# Basics costs $15
Topics:
Interfaces
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.