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().
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().
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
This is a popular solution!
Step by step
Solved in 2 steps with 1 images