Questions: 5 290

Answers by our Experts: 5 288

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

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


How to calculate arithmetic in python programming

You are given an M*N matrix and K, write a program to compute the area of the sub-matrix and print the result.

A sub-matrix is a matrix formed after deleting K rows each from the top and bottom and K columns each from left and right.

Area of a matrix is defined as the product of all elements of the matrix.


Explanation

For M = 5 and N = 4, the matrix is:

1 2 3 4

5 6 7 8

9 10 11 12

13 14 15 16

17 18 19 20

For K = 1, the sub-matrix is as follows:

6 7

10 11

14 15

Therefore, the area of the given matrix is 6*7*10*11*14*15 = 970200.



Sample Input1

5 4

1 2 3 4

5 6 7 8

9 10 11 12

13 14 15 16

17 18 19 20

1


Sample Output1

970200



A group of people are playing a game.They are standing and each carring a card with a number on it.These numbers in the list A. A random number S iis selected.


Find out the new list of numbers after

  • S people were removed from the left.
  • S people were removed from the right.


Sample Input1

1,2,3

1

Sample Output1

2 3

1 2



Write a program to print the not repeated string.


Input

The input contains a string S.


Output

The output contains a string, not repeated string.



Given two polynomials A and B, write a program that adds the given two polynomials A and B.


Create 4 Variables use input function() (Name (string), Math Grade (float), Science Grade (float), English Grade (integer), Average (float)). Use input statement and display the result: 


Create a flowchart from the problem

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.


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 the answer in the form of a pseudocode and flowchart

LATEST TUTORIALS
APPROVED BY CLIENTS