Hey how do you create the option in the output by using a function, void displayRhombus(int diagonal, char fillCharacter) ? : I want to create an option for 'enter the character and enter the number of rows'!

Program execution sample:Please enter the character: #Please enter the diagonal of the rhombus: 7 # ### ############ ##### ### # For example, if the function call isdisplayRhombus(3, ‘#’), then it should display: #### #Or, if the function call is displayRhombus(5, ‘$’), then it should display: $ $$$$$$$$ $$$ $