Logo 
Search:

C++ Programming Forum

Ask Question   UnAnswered
Home » Forum » C++ Programming       RSS Feeds

Write a c++ program that will create a triangle base on user input?

  Asked By: Chinelo    Date: Nov 04    Category: C++ Programming    Views: 5265
  

Write a C++ program that will create a triangle base on user input.
Prompt the user for a number, which will serve as the height of the
triangle. Also prompt the user for a symbol, which will serve as the
outline for the triangle. The user must be able to enter any number
and any character/symbol from the keyboard.
For example:
Enter a number: 10
Enter a symbol: *

Share: 

 

No Answers Found. Be the First, To Post Answer.

 




Tagged: