Program to display asterisks in the shape of a plus sign, C/C++ Programming

Write a program called plus that will display asterisks in the shape of a plus sign which has the height and width specified by the user. You must only allow entry of an odd number for the height. (Reuse the Java code you created for task 1.) When an odd number (n) has been entered, display a plus sign that is n asterisks tall and n asterisks wide.

Hints:

1.    Use multiple loops to create the plus shape, including nested loops

2.    Reuse the odd/even code you created in task 1

Enter Size: 10

SIZE MUST BE ODD

Enter Size: 12

SIZE MUST BE ODD

Enter Size: 15

Posted Date: 3/19/2013 5:23:40 AM | Location : United States







Related Discussions:- Program to display asterisks in the shape of a plus sign, Assignment Help, Ask Question on Program to display asterisks in the shape of a plus sign, Get Answer, Expert's Help, Program to display asterisks in the shape of a plus sign Discussions

Write discussion on Program to display asterisks in the shape of a plus sign
Your posts are moderated
Related Questions
within 2 mins give me answer pllzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

I need to create a connection to FIFA Ultimate Team 14, I want to utilize C++ specifically for the reason that that is the language I have the most experience in. There are a co


Implement (a part of) electronic election Scenario where following political parties are participating in election: PPP, PML and PTI.  Create a class PollingStation where it stor

Additional keywords in C++ Class     friend    virtual   inline private  public    protected     const this         new       delete   operator The actual use and expl

In this we will take a closer look at the logic behind Object Oriented Programming.  Read through the pseudocode listed below and answer the following questions. Class Square

program that decodes sending smuggler''s string

how to declare arrays


direction[] = {L,R,R,L,L,R,R,R,R,L,Z} length[]= {2,2,1,1,1,2,5,2,2,3,1}