write a program which prompts the user to enter an integer whose value is more than 3. Based on inputed number, the program outputs a rectanglar textual shape using digits.(see below).


sample run
enter n: 5

*****
* *
* *
* *
*****

can explain detail like write down the pseudocode and the whole c++ program.. thanks^^

can explain detail like write down the pseudocode and the whole c++ program.. thanks^^

This looks suspiciously like a homework assignment. Please let us know what you have tried first. Working the problem on paper will help you write the pseudocode, etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.