0

Why i am not getting my answer printed

My inputs are 0 and 6 and i wan the cos of 0 https://code.sololearn.com/cEmIE3ak6ZCS/?ref=app

2nd Sep 2020, 10:55 AM
Prashant Pandey
Prashant Pandey - avatar
1 Réponse
+ 1
Got the answer fact func should have if(x==0) return 1;
2nd Sep 2020, 11:05 AM
Prashant Pandey
Prashant Pandey - avatar