Create a program named SalesLetter whose Main() method uses several WriteLine() calls to display a sales letter to prospective clients for a business of your choice. Display your contact information at least three times in the letter. The contact information should contain at least three lines with data such as land line phone number and/or cellphone number, email address, and web address.. Each time you want to display the contact information, call a method namedDisplayContactInfo().

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter7: Using Methods
Section: Chapter Questions
Problem 2E: Create a program named SalesLetter whose Mai n method uses several WriteLine() calls to display a...
icon
Related questions
Question

Create a program named SalesLetter whose Main() method uses several WriteLine() calls to display a sales letter to prospective clients for a business of your choice. Display your contact information at least three times in the letter. The contact information should contain at least three lines with data such as land line phone number and/or cellphone number, email address, and web address.. Each time you want to display the contact information, call a method namedDisplayContactInfo().

Expert Solution
Step 1

using System;

class MainClass

{

public static void Main(string[] args)

{

Console.WriteLine("FROM:");

DisplayContactInfo();

Console.WriteLine("\nBusiness: SoneyShower Cake Shop");

Console.WriteLine("Subject: My New Cake Shop");

Console.WriteLine("\n\t\tAll are invited to have the first pleading cake from HoneyShower.\n\t\tBelow are my contact details:\n");

    Console.WriteLine("Contact Information:\n--------------------");

DisplayContactInfo();

Console.WriteLine("\nTHANKS AND REGARDS,");

DisplayContactInfo();

}

private static void DisplayContactInfo()

{

Console.WriteLine("Tom Smith");

Console.WriteLine("Mobile: 422-246-5891");

Console.WriteLine("Landline: 211-153-1254");

Console.WriteLine("Mail: tomsmith34@yahoo.com");

}

}

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Running Time of Application
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT