Answer:
See explaination
Explanation:
#include <iostream>
#include<string.h>
using namespace std;
bool isPalindrome(string str, int lower, int upper){
if(str.length() == 0 || lower>=upper){
return true;
}
else{
if(str.at(lower) == str.at(upper)){
return isPalindrome(str,lower+1,upper-1);
}
else{
return false;
}
}
}
int main(){
string input;
cout<<"Enter string: ";
cin>>input;
if(isPalindrome(input,0,input.length()-1)){
cout<<input<<" is a palindrome"<<endl;
}
else{
cout<<input<<" is NOT a palindrome"<<endl;
}
return 0;
}
Answer:
True :)
Explanation:
You can recycle it! Tire recycling is the most practical and environment-friendly way of disposing of old and worn-out tires. Due to their inherent durability, large volume and environment and health risks, tires are one of the most problematic sources of solid wastes.
Hope it helped have a nice day! :)
Boats float because the gravity is acting down on it and the buoyant force is acting up on the ship.
Technician B is correct because the way aluminum collapses can be predicted.
Hardened steel and aluminum are two metals used for different purposes including:
- Construction.
- Appliances.
- Small utensils.
- Airplanes.
- Vehicles.
These two materials have slightly different features in terms of resistance, flexibility, etc.
In the case of hardened steel, this is considered to be malleable but strong. This means it is possible to change its shape under some conditions but it can resist great forces and pressure. Moreover, if the hardening process is carried out properly all the areas should be equally strong.
On the other hand, aluminum is recognized due to its durability and for being lighter than other materials. Despite this, aluminum is more flexible than steel and collapses under weaker forces. This has been widely studied because aluminum collapse shows a predictable pattern.
Based on this, only technician B is correct.
Learn more in: brainly.com/question/24043240