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
sweety.alvi@gmail.com



Any one help me plzzzz..... i have an assignment...... that is ______*********_______ Write a pr..

Answer / anmol

just leave this question this is the best option i also
done the same thing and got selected

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is meant by the term name mangling in c++?

0 Answers  


What do you mean by overhead in c++?

0 Answers  


Explain this pointer?

0 Answers  


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

0 Answers   Yahoo,


Write bites in Turbo c++ Header ("Include") Files.

0 Answers  






Which c++ operator cannot overload?

0 Answers  


Differentiate between the manipulator and setf( ) function?

0 Answers  


What are the total number of lines written by you in C/C++? What is the most complicated or valuable program written in C/C++?

2 Answers   Intel,


Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?

0 Answers   Maxobiz,


Define anonymous class.

0 Answers  


i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem

1 Answers   Reliance,


How would you use the functions memcpy(), memset(), memmove()?

0 Answers  


Categories