#include <iostream>
#include<vectors>
using namespace std;
int main()
{
Type: Posts; User: Rod Micael
#include <iostream>
#include<vectors>
using namespace std;
int main()
{
#include <iostream>
#include<vectors>?
using namespace std;
int main()
{
const int numberofterms=3
At least that's my way of "understanding" what you are trying to say. I know its wrong. LOL.
actually I meant for line 24: T[2] = (T[0]+T[1]+T[2])/numberofterms
#include <iostream>
#include<vectors>?
using namespace std;
int main()
{
const int numberofterms=3
so how would the if and else loops work in this case @R41D3N?
let me show you what I am talking about: for loop and vectors - C++ Forum
I see some of the examples using iostream <vector> is that necessary?
I am trying to figure out a general form of this hypothetical example using C++.
I have a vector with any three numbes. I want the first numbers and third numbers in the vectors to not be changed,...