• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
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

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

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Hi help me I am new
2 Votes
My codebits section is full of deleted codes
12 Votes
Why are there like 10 community-made lessons?
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Why so many mathematical questions in challenges?
0 Votes
Where did mess up....
1 Votes
Where can I learn c#
0 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
best language if i want to learn about AI
0 Votes