Using the code I provided and these instructions can someoneplease help me add these.Please and thank you!
#include <iostream>
#include<string>
using namespace std;
//function calculateTotal
int calculateTotal(int cs, int lc)
{
int tc;
tc = lc * 12 * cs;
return tc;
}
int main()
{
int flag = 1;
int n;
cout << “Enter thenumber of item” << endl;
cin >> n;
string mt;
int lt, cs, lc, tc;
do
{
cout << “Enter the material of wire:”;
cin >> mt;
do
{
cout << “Enter length
OR
OR