Because compared to 1040EZ, 1040 way more more complex.
A macro is that pseudo-program that performs a list of actions based on a set of instructions.
<h3>What is macro?</h3>
A macro can be said to be a number of commands that help you to get complex things done via automating simple and via repetitive tasks.
A macro is that pseudo-program that performs a list of actions based on a set of instructions.
Therefore, option A is correct as the macros does a whole lot of work.
Learn more about macro from
brainly.com/question/20050035
#SPJ1
Answer:
- They write step by step instructions for a computer to follow.
- They create a logic problem that the computer program can solve.
Hi,
I changed your program using some of the concepts you were trying to use. Hopefully you can see how it works:
#include <string>
#include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
short T;
cin >> T;
cin.ignore();
string str[100];
for(int i=0; i<T; i++)
{
getline(cin, str[i]);
}
for (int i = 0; i < T; i++)
{
stringstream ss(str[i]);
string tmp;
vector<string> v;
while (ss >> tmp)
{
// Let's capitalize it before storing in the vector
if (!tmp.empty())
{
transform(begin(tmp), end(tmp), std::begin(tmp), ::tolower);
tmp[0] = toupper(tmp[0]);
}
v.push_back(tmp);
}
if (v.size() == 1)
{
cout << v[0] << endl;
}
else if (v.size() == 2)
{
cout << v[0][0] << ". " << v[1] << endl;
}
else
{
cout << v[0][0] << ". " << v[1][0] << ". " << v[2] << endl;
}
}
return 0;
}