Answer:
responsive
Explanation:
responsive design resizes itself to best suit your device
(mark brainliest please)
<em>Self-fulfilling prophecy</em> is a belief that becomes true because of the behavior that appears due to this belief, while <em>self-concept</em> is an individual’s reflection of him or herself from things he or she believes about themselves and what other people think of her or him. <em>Indirect evidence</em> is another term for circumstantial evidence – a type of evidence that links two things through an inference.
From all these options, it clear that none fits the definition given in the question except for the last one, which is the answer: (B) social comparison.
Answer:
GUI stands for graphical user interface. It is a user interface which user interact with applications by making use of graphics
In GUI more than one task can run simultaneously.
CUI stands for character user interface. In CUI user has to interact with the applications by making use of commands. In CUI only one task can run at a time.
Answer:
x = (-b + sqr(b * b - 4 * a * c)) / (2 * a)
x2 = (-b - sqr(b * b - 4 * a * c)) / (2 * a)
Usually when squaring a number I just use multiply it by itself like above. If you actually want to use the exponent 2, then it would instead be:
x = (-b + sqr(b ^ 2 - 4 * a * c)) / (2 * a)
x2 = (-b - sqr(b ^ 2 - 4 * a * c)) / (2 * a)
Answer:
a) # include <iostream>
# include <conio.h>
# include <stdio.h>
# include <string.h>
using namespace::std;
bool IsPalindrome(const string& str)
{
if (str.empty())
return false;
int i = 0; // first characters
int j = str.length() - 1; // last character
while (i < j)
{
if (str[i] != str[j])
{
return false;
}
i++;
j--;
}
return true;
}
int main()
{
string str;
cout<<"Enter the string";
getline(cin, str);
bool a= IsPalindrome(str);
if(a)
{
cout<<"Is in palindrome";
}
else
{
cout<<"Is not in palindrome";
}
}
b) Modified version of function with full program to discard uppercase or lowercase is as below:
# include <iostream>
# include <conio.h>
# include <stdio.h>
# include <string.h>
using namespace::std;
bool IsPalindrome(const string& str)
{
if (str.empty())
return false;
int i = 0; // first characters
int j = str.length() - 1; // last character
while (i < j)
{
char a= tolower(str[i]);
char b= tolower(str[j]);
if (a != b)
{
return false;
}
i++;
j--;
}
return true;
}
int main()
{
string str;
cout<<"Enter the string";
getline(cin, str);
bool a= IsPalindrome(str);
if(a)
{
cout<<"Is in palindrome";
}
else
{
cout<<"Is not in palindrome";
}
}
Explanation:
Please check the answer section.