subject

Write c code that does the following: 1. interactively read the coefficients of a quadratic equation and compute the two roots. the program must alert if there is no real root, i. e., read and c of 2 + + c = 0, and compute x = −±√ 2− ; note: a. sqrt() is available in math. h b. for putty/omega server, include -lm while compiling, i. e. gcc -lm myprogram. c c. make sure that you add a routine to check the positiveness of the discriminant using the if statement. show actual runs and examples

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 09:20
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
You know the right answer?
Write c code that does the following: 1. interactively read the coefficients of a quadratic equatio...
Questions
Questions on the website: 13722367