Question: Summary The case problems in this section introduce two fictional businesses. You will create increasingly complex classes for these businesses that use the newest concepts

Summary

The case problems in this section introduce two fictional businesses. You will create increasingly complex classes for these businesses that use the newest concepts you have mastered in each chapter.

Instructions

Greenville County hosts the Greenville Idol competition each summer during the county fair. The talent competition takes place over a three-day period during which contestants are eliminated following rounds of performances until the years ultimate winner is chosen.

Write a program named GreenvilleMotto that displays the competitions motto, which is The stars shine in Greenville. Edit the program so that it displays the motto surrounded by a border composed of asterisks.

Your output should look like the following:

************************************ * The stars shine in Greenville. * ************************************

Pay careful attention to the number of * and spaces!!!!

This is my code:

using static

System.Console;

class

GreenvilleMotto

{

static void Main(string[]args){WriteLine("************************************");

WriteLine("* The stars shine in Greenville. *");

WriteLine("************************************");

}

I'm having a problem with my code pattern. My grader is searching your code for a specific pattern:

( \s*WriteLine\("\*.*\*"\);\s*){3}

Can someone help me with this?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!