Answer:
The following program is in C++.
#include <bits/stdc++.h>
using namespace std;
void lastChars(string s)
{
int l=s.length();
if(l!=0)
{
cout<<"The last character of the string is: "<<s[l-1];
}
}
int main() {
string s;//declaring a string..
getline(cin,s);//taking input of the string..
lastChars(s);//calling the function..
return 0;
}
Input:-
Alex is going home
Output:-
The last character of the string is: e
Explanation:
In the function lastChars() there is one argument that is a string.I have declared a integer variable l that stores the length of the string.If the length of the string is not 0.Then printing the last character of the string.In the main function I have called the function lastChars() with the string s that is prompted from the user.
Answer:
If analyzed by volume capacity, more trips are needed to fill the space, thus the required trips are 288
Explanation:
a) By volume.
The shrinkage factor is:

The volume at loose is:

If the Herrywampus has a capacity of 30 cubic yard:

b) By weight
The swell factor in terms of percent swell is equal to:


The weight of backfill is:

The Herrywampus has a capacity of 40 ton:

If analyzed by volume capacity, more trips are needed to fill the space, thus the required trips are 288
What the white racism cop did against George Floyd was absolutely disgusting. It’s so messed up knowing racism and police brutality against black people still exists in this world today. It’s time for all of us to unite and come together and fight for a change already.