Answer:
An overhead projector: requires slides to project images
A laptop: requires an external monitor to project high-resolution images
A computer: requires a CD-ROM drive to run presentation CDs
An external monitor: requires a port to connect to the laptop
Explanation:
The correct pair has been formed above. An overhead projector requires the slides for projecting images. A Laptop for projecting high-resolution images requires an external monitor. And a computer requires a CD-ROM drive for running presentation CDs, and an external monitor requires a port to a port which can be an HDMI port to connect to a laptop.
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.
The skills that are vital are:
- Analytical skills to troubleshoot problems for clients.
- The concentration and focus to be able to study and write computer code.
<h3>What are analytical and problem solving skills? </h3>
This is known to be the ability of a person to be able to look into information in-depth so as to tell the key or important elements, its strengths and weaknesses and others.
Therefore, The skills that are vital are:
- Analytical skills to troubleshoot problems for clients.
- The concentration and focus to be able to study and write computer code.
Learn more about Analytical skills from
brainly.com/question/2668962
#SPJ1
Answer:
a = float(input(“Enter side A: “))
b = float(input(“Enter side B: “))
c = float(input(“Enter side C: “))
d = float(input(“Enter side D: “))
e = float(input(“Enter side E: “))
area1 = (b)*(c)
area2 = (d-e)*(a-c)
area3 = (0.5)*(a-c) *(e)
print(“Room Area: “ + str(area1 + area2 + area3))
Explanation:
Answer:
What are you asking of us friend? I'd be glad to help.
Explanation: