Enter a regular triangle using the c language