//March 2021
// Collin Brown, Jada Satchell, Deric N
//Compiler: C++ Shell
#include <iostream>
#include <string>
using namespace std;
const int LIMIT=90; // change this number to fit your array
void chose_program( Format);
void test_constraints(double count[]); //This is the name or our function
int main()
{
std::cout << "Made by: Jada Satchell, Collin Brown, Deric"<< endl;
cout << "Made in 2021"<< endl;
cout << "This code is made to put our teams LP modle in LINDO and lP solve form."<< endl;
choose_program
{
cout << " Would you want to see the LP modle in LINDO or in lp solve ?"<< endl; //HERE!!
cin >> Format
You can't define a function within a function eg you can't define another function within main(). When the function has been forward declared (as here), the function definition can come after main()
Also, it's much easier to read code if it's nicely formatted and code tags used.