E-mail B is the more appropriate workplace e-mail because it’s straightforward, polite, and professional. E-mail A was more accusatory and aggressive, and many people don’t like when they’re being yelled at or accused of something and, as a result, this person may start to dislike that coworker. However, the second e-mail was more polite and made the receiver think of them as a respectful person so that they’re happy to help them out.
firstly we have to initialize the variable, means to give variable a value and then print the statement
string = "fahadisahadam"
print(string[:3]+"..."+string[-3:])
string is a data type that contains two or more characters.
means the string is fahadisahadam so the print will print first three characters. follow by three periods(...) and then last three characters.
The output will be:
fah...dam
Answer:
# include <conio.h>
#include <iostream.h>
using namespace std;
main()
{
int billamount[12];
char monthname["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
<em>for (int month = 1 ; month<=12; month++)</em>
<em>{</em>
<em>cout<<"Enter the amount of bill for the month"<<month;</em>
<em>cin>>billamount[month];</em>
<em>}</em>
for (i=0; i<= 12; i++)
{
if (billamount[0]<billamount[i])
billamount[0]=billamount[i];
monthname[0]=monthname[i];
}
<em>cout<<"Maximum months phone bill"<<monthname[0]<<"="<<billamount[0]</em>
<em />
getch();
}
Answer:
Well, a binary search has to be ordered. So ima just say linear search..
Explanation:
I think its linear..