thanx for ur suggestion, i try do some code following, could u help me check it and give me some advices.
#include "stdafx.h"
# include <iostream>
# include <math.h>
using namespace std;
double qUeq(double a, double b, double c);
int main()
{
double a,b,c;
cout<<"Input a,b,c(b*b-4*a*c>0):";
cin>>a>>b>>c;...
User Profile
Collapse
-
question with quadratic equation
hi, i'm a freshman with c++,i got a question from my assignment,does someone could give me some ideas for that.
Given the following prototype of a function that solves the [possibly complex] roots of a quadratic equation of the form ax2 + bx + c:
Ret_type fn_name(formal param list);
explain the nature of each of the parameter-passing mechanisms used and give a suitable example of code to call the function fn_name. Your...
No activity results to display
Show More
Leave a comment: