• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu

Обсуждения

Write and test a program that solves quadratic equations. A quadratic equation is an equation of the form ax2+ bx + c =0 ,where a,b and c are given coefficient and x is the unknown The coefficients are real number inputs ,so they should be declared of type float or double Since quadratic equations typically have two solutions ,use x1 and x2 for the solutions to be output These should be declared of type double to avoid inaccuracies from round-off error
c++
-1 голос
3 ответов
28th Jun 2016, 7:19 PM
Ogunjirin Emmanuel
Ogunjirin Emmanuel - avatar
Matt reaches the final round of a treasure hunt. In this, he finds that as he proceeds there are flags with the number written on them at different positions. The difference between two consecutive flags can be either a or b. If he finds the number on the first flag is 0. Given three integer, first one is number of flags present, second is a and third is b. then return all the possible values for last flag for each test case. hunt({3 1 2}) = {2 3 4}
java
0 голосов
2 ответов
6th Aug 2016, 6:23 PM
Sumit Tyagi
Sumit Tyagi - avatar
< Предыдущий1...3132Следующий >
Актуальное сегодня
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Quiz
0 Votes
Should i learn python more or HTML?
1 Votes
C++ Vectors
0 Votes
how much time will it take to learn python OOP if i spend 1 hour everyday
0 Votes
Code challenge
0 Votes
Does solving a code coach actually give XPs?
2 Votes
A Little Question Here!
1 Votes
can't understand an error
0 Votes
Loop
0 Votes