Modify your Assignment 8 program so that a function, printLine, is used to print each line in thetriangle. This function should accept a single parameter, the line number of the line to be printed.Your main() program should contain only (and exactly) the following:int i;for (i=0; i<10; i++) /* Assignment #9 */printLine(i); /* Assignment #9 */return 0;Note: within the function printLine do not use “i” as the parameter name for the line number. #button { background-color: #F05A1A; border: 5px; border-radius: 5px; color: white; padding: 5px 5px; text-align: center; text-decoration: none; display: inline-block; font-size: 13px; margin: 4px 2px; cursor: pointer; } Save your time - order a paper! Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines Order Paper Now