I'm not sure what's wrong, i get the wrong the answers for x, i should be getting:
x0=1
x1=-1
x2=1
int main()
{
int n = 3, i = 0, j = 0, k = 0;
Type: Posts; User: whatever125
I'm not sure what's wrong, i get the wrong the answers for x, i should be getting:
x0=1
x1=-1
x2=1
int main()
{
int n = 3, i = 0, j = 0, k = 0;
I put numbers in for those value, but they stay that value, they won't change when the user inputs a new number for them in the function call
what does it mean by it's uninitialized?
When I assign it values, they stay that value when i need it to change
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <cmath>
using namespace std;
void input_rect(double,double);
double const pi = atan(1.0);
int main()