Answer:
#include<bits/stdc++.h>
using namespace std;
int main()
{
string st;
getline(cin,st);
int i=0;
while(i<st.length())
{
if(isupper(st[i]))
{
st.erase(st.begin()+i);
continue;
}
i++;
}
cout<<st<<endl;
return 0;
}
Explanation:
I have included the file bits/stdc++.h which include almost most of the header files necessary.
For taking the input as a string line getline is used.
For checking the upper case isupper() function is used. cctype header file contains this function.
For deleting the character erase function is used.
Answer:
procedimento
Explanation:
faz se a montagem conforme mostra a figura.
We have information:
3.8 billion 1 second
x billion 0.6 second
To find out the number of operations we need to cross multiply these equations and solve for x.
3.8 * 0.6 = 1*x
x = 2.28 billion
In 0.6s computer can do 2.28 billion operations.