Answer:
65
Explanation:
Answer:
65
Explanation:
Answer:
Yes Preto distribution takes over when we apply 80/20 rule.
Explanation:
The Pareto distribution is derived from pareto principle which is based on 80/20 rule. This is main idea behind the Pareto distribution that percent of wealth is owned by 20% of population. This 80/20 rule is gaining significance in business world. There it becomes easy to understand the input and output ratio. The input ratio helps to analyse the potential output using Pareto distribution.
Answer:
It's pie chart because it shows the percentage of multiple things.
Explanation:
And I did an exam aced it and got this question right.
Answer:
Following are the code to the given question:
#include<iostream>//including the header file
using namespace std;
int count_Characters(char ch, string s)//defining a method count_Characters that holds two variable as a parameter
{
int c=0,i;//defining integer variable
for(i=0;i<s.size();i++)//using for loop to check value
{
if(s[i]==ch)//use if block to check string and char value
{
c=c+1;//incrementing c value
}
}
return c;//return c value
}
int main() //defining main method
{
char ch;//defining char variable
cin>>ch;//input char value
string s;//defining string variable
cin>>s;//input string value
cout<<count_Characters(ch,s);//calling method count_Characters
return 0;
}
Output:
n Nobody
0
n Monday
1
Explanation:
In this code, a method "count_Characters" is declared that accepts one sting and one char variable as a parameter "s, ch", and inside the method a two integer variable and for loop is declared that uses the if block to match string and char value and increments the c variable value.
In the main method two-variable "s, ch" is declared that inputs the value from the user-end and pass the value into the method, and prints its values.
Answer:
Written in C++
#include<iostream>
using namespace std;
int main()
{
int N;
cout<<"Length of Array: ";
cin>>N;
int A[N], B[N];
for(int i =0;i<N;i++) {
cin>>A[i];
}
for(int i =0;i<N;i++) {
B[i] = A[i];
}
for(int i =0;i<N;i++) {
cout<<B[i]<<" ";
}
return 0;
}
Explanation:
This line declares the length of the Array; N
int N;
This line prompts user for length of array
cout<<"Length of Array: ";
This line gets user input for length of array
cin>>N;
This line declares array A and B
int A[N], B[N];
The following iteration gets input for Array A
for(int i =0;i<N;i++) {
cin>>A[i];
}
The following iteration gets copies element of Array A to Array B
for(int i =0;i<N;i++) {
B[i] = A[i];
}
The following iteration prints elements of Array B
for(int i =0;i<N;i++) {
cout<<B[i]<<" ";
}
Sample Run
Enter a text: Good morning Good afternoon Good evening
Good afternoon evening morning
The programreturns uniqueelements in the string passed in with no duplicates. The programis written in python 3 thus :
text = input('Enter text : ')
#promptsuserto enterstring inputs
split_text = text.split()
#splitinputtedtext basedonwhitespace
unique = set(split_text)
#usingtheset function,takeonlyuniqueelementsin thestring
combine = ' '.join(unique)
#usethejoinfunctiontocombinethestringstoformasingle lengthstring.
print(combine)
Asamplerunoftheprogramisattached
Learn more : brainly.com/question/15086326
Answer:
The program to this question as follows:
Program:
value = input("Input text value: ") #defining variable value and input value by user
word = value.split() #defining variable word that split value
sort_word = sorted(word) #defining variable using sorted function
unique_word = [] #defining list
for word in sort_word: #loop for matching same value
if word not in unique_word: #checking value
unique_word.append(word) #arrange value using append function
print(' '.join(unique_word)) #print value
Output:
Input text value: Good morning Good afternoon Good evening
Good afternoon evening morning
Explanation:
In the above python code, a value variable is defined that uses input function to input value from the user end, and the word variable is declared, which uses the split method, which split all string values and defines the sort_word method that sorted value in ascending order.
Answer:
SELECT TECHNAME, EMPNUM, YEAR FROM EMPLOYEE ORDER BY YEAR DESC
Explanation:
The table definition is not given;
However, I'll make the following assumptions
Table Name:
Employee
Columns:
Technician name will be represented with Techname
Employee number will be represented with Empnum
Year Hired will be represented with Year
Having said that; the sql code is as follows:
SELECT TECHNAME, EMPNUM, YEAR FROM EMPLOYEE ORDER BY YEAR DESC
The newest year hired will be the largest of the years;
Take for instance:
An employee hired in 2020 is new compared to an employee hired in 2019
This implies that the year has to be sorted in descending order to maintain the from newest to oldest.