Answer: Donald, the branch manager displayed people skills
Explanation: People skills are a combination of behavior and behavioral interactions between people. There are many abilities that fall under the category of people skills, for example, personal effectiveness, interactive skills and negotiation skills. While the customer was shouting, Donald patiently heard and tried to calm the customer which reflected that he respected and valued the customer and kept a positive behavior towards the customer.
Answer:
Answer:
def main():
num = int(input("Input a number to check for prime: "))
if num > 1:
for i in range(2,num):
if (num % i) == 0:
print("%d is not a prime number" % num)
break
else:
print("%d is a prime number" % num)
break
else:
print("%d is not a prime number" % num)
if __name__ == "__main__":
main()
Explanation:
Solution retrieved from programiz.com.
Note, this program uses the idea of the Sieve of Eratosthenes to validate the input number by using the modulo operator to determine primeness.
The program will output to the user if the number input is indeed prime or not.
Cheers.
Explanation:
<u> C++ Program to Print Pascal's Triangle</u>
#include<iostream>
//header file
using namespace std;
//driver function
int main()
{
int r;/*declaring r for Number of rows*/
cout << "Enter the number of rows : ";
cin >> r;
cout << endl;
for (int a = 0; a < r; a++)
{
int value = 1;
for (int b = 1; b < (r - a); b++)
/*Printing the indentation space*/
{
cout << " ";
}
for (int c = 0; c <= a; c++)
/*Finding value of binomial coefficient*/
{
cout << " " << value;
value = value * (a - c) / (c + 1);
}
cout << endl << endl;
}
cout << endl;
return 0;
}
<u>Output</u>
<u>Enter the number of rows : 5</u>
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
To use another person's work without crediting the source.