Someone answer this because I need to know as well
\
Answer:
Explanation:
bool isPalindrome(string str)
{
int length = str.length();
for (int i = 0; i < length / 2; i++) {
if (str [i] != str [length – 1 – i]) {
return false;
}
}
cout << str << "is a palindrome";
return true;
}
Answer:
Binary numbers are expressed using only the digits 1 and 0. This is also referred to as base 2 notation.
Answer
calculator calc;
Explanation
An object is an instance of a class. And a class is what defines or describes the behavior or the state of the object of its type. When a class is defined no memory is allocated until when an object is created memory is allocated.
Answer:
Even though both are interfaces and serve its purpose of attempting to run the strategies, their components as well as the manipulate they will get from the patient differ.
Explanation:
CUI (Character User Interface) :-
- It's a sort of user interface that only uses binary data and pseudographics for interface-output and data sessions.
- That's characterized by low availability for operating systems I / O resources (act with integrity) and high speed with a display of data.
GUI (Graphical User Interface (GUI):-
- Using graphical elements such as windows, icons, menus helps the user to communicate with the program.
- It is a kind of user interface along which people interact with electronic equipment through characterizations of visual indicators.