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
I am having trouble declaring a variable and returning a value from my function.

Operators The variables, which are declared and explained, are the operands, which are operated upon by the operators. Operators specify what operations are to be performed on

Explain Processing A Data File? Mainly data file applications needs that a data file be altered as it is being processed. For instance in an application involving the processin

Describe what is actual arguments? - When certain functions are created and used to perform an action on some provided values, some values are required to be passed to them. Th


how can i make a program with !(not) operator

i need to do my home work

Description: Create a program that allows the user to track the hours an employee worked in a week. How much the employee was paid and any extra hours worked (overtime pay).

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

write c language program that shows stack overflow..