Program must be written in C#. Any help would be appreciated. You Do It Calling
ID: 3602687 • Letter: P
Question
Program must be written in C#. Any help would be appreciated.
You Do It Calling a Method In this section, you write a program in which a Main that displays a company's logo. method calls another method 1. Open a new program named DemoLogo, and enter the statement that allows the program to use System.Console methods without qualifying them. Then type the class header for the DemoLogo class and the class-opening curly brace. using static System.Console; class DemoLogo 2. Type the MainO method for the DemoLogo class. This method displays a ine, then calls the DisplayCompanyLogo) method. static void MainO Write "Our company is" DisplayCompanyLogoO (continues)Explanation / Answer
using System.IO;
using static System.Console;
class DemoLogo
{
static void Main()
{
Write("Our Company is ");
DisplayCompanyLogo();
}
static void DisplayCompanyLogo() {
WriteLine("See Sharp Optical");
WriteLine("We prize your eyes");
}
}
Output:
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.