I am trying to create a chore chart with a bit of console code but I'm very new to C++ and I'm running into a roadblock trying to figure out how to create a loop that asks the user the following:
How many chore fields they would like to input
Input prompt for each field
When the chosen number of fields have been completed a new prompt should ask if the user would like to input more fields or if they are finished.
If they want to input more, start back at loop for # of fields to input or if finished have it print the chore chart to screen. Very basically as I am still grasping these functions.
Here's my code so far:
#include <iostream>
using namespace std;
int main()
{
int chores_num;
while (finished = true) = {
cout << "How many chores would you like to input?\n"
cin >> chores_num;
cout << "Enter Chore\n";
cin >> chore;
cout << ""
}
return 0;
}