Answer:
running in the 90 s intensifies
Explanation:
<u>Explanation:</u>
Remember, an algorithm in simple words means a set of instructions or steps to be followed in other to solve a problem.
Note, to decide which commute is cheaper, it means the output of the algorithm should be the cheaper way to commute.
Using pseudocode do the following;
- determine the inputs and outputs of the problem
- arrange the identified problem into micro-tasks
- describe each micro-tasks in the pseudocode
- Test the pseudocode by solving the problem.
Answer:
It shows you how the paper would look as if u printed it.
Explanation:
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.
Explanation:
if(more than three hours left)
{
study web-development;
}
else
{
practice coding;
}
I have taken an real life example and present it as if-else statements.
If I have more than 3 hours free in a day.Then I should study web-development.
If i don't have more than 3 hours free in a day then I should practice coding.
Branches are the statements within the {} curly braces.In our case these are:-
study web-development;
practice coding;