السلام عليكم
هذه اول مشاركة لي ارجو مساعدتي في حل المطلوب مني ولكم مني الدعاء والشكر الجزيل
الأولى
Write a C++ function to display the following shape by using * symbol. Your function will accept one parameter as the height of the shape.
Example:
What is the height : 4
*
**
***
****
الثانية
Write a C++ program that will prompt the user to input ten integer values. (you have to use array)
The program will display the smallest and greatest of those values.
Example
Input 10 integers : 2 3 4 1 7 6 87 12 5 7
The smallest integer is : 1
The greatest integer is : 87