Showing error , please correct

Please correct my code


and change code by comment that line.

hey you are not actually calling fun2 for upperbound
also your fun2 had some errors .i have marked them
Pls refer this…

if this solves your doubt please mark it as resolved