How many possible samples of size n = 3 can be drawn from a population of size 10? *
by CodeChum Admin
There are different kinds of numbers, but among them all, the most commonly used numbers in our daily lives are those positive ones. So, I only want you to count all the positive numbers from the 4 outputted values and print out the result.
Go and search for the positive ones among these four!
Input
1. First number
2. Second number
3. Third number
4. Fourth number
Output
The first four lines will contain message prompts to input the four numbers.
The last line contains the total count of all the positive numbers.
Enter·the·first·number:·2
Enter·the·second·number:·-4
Enter·the·third·number:·3.6
Enter·the·fourth·number:·1
Count·of·positives·=·3Find a longest common subsequence between following strings:
String1= {1, 2, 3, 4, 5, 6, 7, 8}
String2=<1,2,0,1,1,5,6,5>
(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem).
The Federal board of revenue imposed a tax lemon soda which needs to be paid by the sellers, what will be the effect in lemon soda market.
I'm not getting any output to search item in a mart code So,please verify it
JamEx Limited requires a program to calculate and print the commission received by a
salesperson. The program should process an undetermined number of salespersons and
appropriately terminate by a predefined input. The commission rate is based on two factors,
the amount of sales and the class to which a salesperson belongs. The input will be the
salesperson number, sales amount and class. The commission rate will be based on the
following criteria:
Class=1
If sales is equal to or less than $1000, the rate is 6 percent.
If sales is greater than $1000 but less than $2000, the rate is 7 percent.
If the sales is $2000 or greater, the rate is 10 percent.
Class=2
If the sales is less than $1000, the rate is 4 percent.
If the sales is $1000 or greater, the rate is 6 percent.
Class=3
The rate is 4.5 percent for all sales amount
Class=any other value
Output an appropriate error message.
Need answer in pseudocode
A town has a population of 17000 and grows at 4% every year. What will be the population after 12 years, to the nearest whole number?
Determine which of the following is the solution set of the linear equations below.
3x − y + z = 2
2x − z = 2
An element with mass 820 grams decays by 26.8% per minute. How much of the element is remaining after 18 minutes, to the nearest 10th of a gram?
A skater glides along a circular path of radius 2.50m . If she coasts around one half of the circle, find the distance in m from the starting location