first SIGFPE now WA

first i was getting SIGFPE and after correcting it i am getting WA please help

my solution

//