ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 9 Weeks Ago, 6 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 29 May 2017 My Price 7.00

Develop a C# console application that displays the two

I need to write a program that displays the pattern below. I am not sure how to go about it

Develop a C# console application that displays the two (2) following patterns separately, one below the other. Use for loops (hint:  nested) to generate the patterns. All asterisks should be displayed by a single statement of the form Console.Write("*"); which displays the asterisks leading up to the number value shown in the example. A statement of the form Console.WriteLine(); can be used to move to the next line. Note the sequence of each number in turn.  Remember that this is two separate sets of loops which are used to generate these two patterns.  You will need to deduce how the numbers are computed (they are the result of a computation) and where that computation will be placed in the loop structures.  You may not hardcode the displayed numbers into your loops.

The two patterns should look similar to the following:

 

*2
**4
***6
****8
*****10
******12
*******14
********16
*********18
**********20

**********20 
*********18
********16
*******14
******12
*****10
****8
***6
**4
*2

Attachments:

Answers

(11)
Status NEW Posted 29 May 2017 06:05 AM My Price 7.00

-----------

Not Rated(0)