318,080 views
28 votes
28 votes
Write the code to call/execute the following function

void printInfo()
{
cout << "Jared" << endl;
cout << "ITP100" << endl;
cout << "TCC" << endl;
}

User CptAJ
by
2.9k points

1 Answer

12 votes
12 votes

Answer:

write a main() function and call your function.

Step-by-step explanation:

See picture. Executed at replit.

Write the code to call/execute the following function void printInfo() { cout &lt-example-1
User Inso
by
2.6k points