Q1: write a program to solve quadratic equation, where a,b,c are given by user.
Q2: write a program to calculate area of cylinder.
Printable View
Q1: write a program to solve quadratic equation, where a,b,c are given by user.
Q2: write a program to calculate area of cylinder.
Well, didn't you ever solve the quadratic equation? calculate area of cylinder? :confused:
Or what is your C++ problem?
For the mathematics for these
1) See http://en.wikipedia.org/wiki/Quadratic_equation
2) Including or excluding ends? See http://en.wikipedia.org/wiki/Surface_area
Or what is your c++ question?