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:
(a) the percent thermal efficiency is 27.94%
(b) the temperature of the cooling water exiting the condenser is 31.118°C
Explanation:
To solve this problem it is necessary to apply the concepts related to density in relation to mass and volume for each of the states presented.
Density can be defined as

Where
m = Mass
V = Volume
For state one we know that




For state two we have to




Therefore the total change of mass would be



Therefore the mass of air that has entered to the tank is 6.02Kg
I think it’s rationalization.
Hope this helps
Answer:
thành thật mà nói bởi vì cách những chiếc lá đang chuyển và cách mặt trời chiếu sáng.