Any one help me plzzzz.....
i have an assignment......
that is
______*********_______
Write a program that takes an equation as a string and does the following:
Solve 8 parts to achieve 100% 1 - 5 are compulsory.
Input: 2x^2+3x+4=0
1) read a quadratic equation
2) print its coefficients (coefficients range is 0 to 9)
3) print the solution of the equation
4) tackle imaginary solution e.g. ( (2+3i), (2-3i) )
5) allow spaces within the input
6) after solving one equation; ask for an other, terminate on empty line. *
7) tackle negative values as well *
8) tackle more than one values of same exponent (e.g. 2x^2 + 3x^2 + 4x + 3 = 0)*
9) use strtok *
10) print the solution in fractions e.g. 1.5 should be printed as (1)1/2 *
11) coefficient can be greater than 9**
12) values on both sides of the ‘=’ sign**
13) plot the graph of the polynomial**
14) use a compiler other than Borland**
15) submit before May 25, 2009 11:59 PM **

_______******________
plz send me c++ code at
[email removed]

Recommended Answers

All 3 Replies

did you seriously just straight up ask someone to do your homework for you?

To remember for ever: DaniWeb isn't a homework completion service, that means that we aren't writing this program for you, show us what you've already done so far, tell us where you get stuck and ask specific questions about the things you don't understand, all what you've done so far is being lazy and posting your assignment in a thread :(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.