Answer:
#include <iostream>
#include <string>
using namespace std;
bool isPalindrome(string str)
{
int length = str.length();
for (int i = 0; i < length / 2; i++)
{
if (tolower(str[i]) != tolower(str[length - 1 - i]))
return false;
}
return true;
}
int main()
{
string s[6] = {"madam", "abba", "22", "67876", "444244", "trymeuemyrt"};
int i;
for(i=0; i<6; i++)
{
//Testing function
if(isPalindrome(s[i]))
{
cout << "\n " << s[i] << " is a palindrome... \n";
}
else
{
cout << "\n " << s[i] << " is not a palindrome... \n";
}
}
return 0;
}
Answer:
c) site preparation
Explanation:
A construction process can be defined as a series of important physical events (processes) that must be accomplished during the execution of a construction project.
Generally, in the construction of any physical asset such as offices, hospitals, schools, stadiums etc, the first step of the construction process is site preparation. Site preparation refers to processes such as clearing, blasting, levelling, landfilling, surveying, cutting, excavating and demolition of all unwanted objects on a piece of land, so as to make it ready for use.
This ultimately implies that, site preparation should be the first task to be accomplished in the construction process.
Hence, the construction process typically begins with site preparation before other activities such as the laying of foundation can be done.
Additionally, construction costs can be defined as the overall costs associated with the development of a built asset, project or property. The construction costs is classified into two (2) main categories and these are; capital and operational costs.
Answer:
3270 N/m^2
Explanation:
we can calculate the pressure difference between the bottom and surface of the tank by applying the equation for the net vertical pressure
Py = - Ph ( g ± a )
for a downward movement
Py = - Ph ( g - a ) ------ ( 1 )
From the above data given will be
p = 1000 kg/m^3, h = 2/3 * 0.5 = 0.33 m , a =2g , g = 9.81
input values into equation 1 becomes
Py = -Ph ( g - 2g ) = Phg ------ ( 3 )
Py = 1000 * 0.33 * 9.81
= 3270 N/m^2
Answer:
Rock and orange juice
Explanation:
The mystery matter to be submerged in water must be a solid, therefore we can eliminate the Lemonade and Milk, and Orange juice and Helium, as these pairs do not contain solids. The graduated cylinder is used to measure the volume of a liquid, therefore the only remaining option is Rock and Orange Juice.
Answer:
Answer for the question is given in the attachment.
Explanation: