1. Engineering
  2. Computer Science
  3. 7 write a program that displays a hollow equilateral triangle...

Question: 7 write a program that displays a hollow equilateral triangle...

Question details

7) Write a program that displays a hollow equilateral triangle of asterisks (i.e. as shown below on the screen. The number of asterisks in the triangle base is read from keyboard which is always an odd integer. NOTE I the programs must be written using loop structures and no library function is allowed.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution