by CodeChum Admin
Do you still know what being divisible by a certain number means? In case you forgot, being divisible means that the number is capable of being divided by another number without a remainder. With this knowledge, you can surely solve this problem!
Instructions:
Input
1. An integer
Output
The first line will contain a message prompt to input the integer.
The second line contains the appropriate message.
Enter n: 6
Divisible by 3Enter n: 12
Divisible by 3 and 4Enter n: 4
Divisible by 4Instructions:
Input
1. First number
2. Operator
3. Second number
Output
The first line will contain a message prompt to input the first number.
The second line will contain a message prompt to input the operator.
The third line will contain a message prompt to input the second number.
The last line contains the result with 2 decimal places.
Enter the first number: 5
Select the operator (+, -, *, /): +
Enter the second number: 0.70
Result = 5.70
Write a program in Python that will store the schedule for a given day for a particular TV station. The program should ask the user for the name of the station and the day of the week before asking for the name of each TV program and the Start and Finish times.
Can I get wedding game code in c programming it's urgent
The placement session has begun in a college. There is N number of students standing outside an interview room in a line. It is given that the person who goes first has higher chances of selection.
Each student has a number associated with them representing their problem-solving capability. The higher the capability the higher the chances of selection. Now every student wants to know the number of students ahead of him with higher problem-solving capability
Wedding Game
In a wedding that you are attending, there are some chairs that have digits inscribed at their
backs. The chairs are lined in a row such that they form a string of the digits. Find the
minimum number of sets M that can be formed from these digits such that:
1. The number of digits in each set is one gf more than one.
2. Each set is formed using consecutive digits and no digit can be used more than once.
3. In each set, the number formed using the digits is less than or equal to Y.
The placement season has begun in a college. There are N number of students standing outside an interview room in a line. It is given that a person who goes in first has higher chances of getting selected
Write a function for checking the speed of drivers. This function should have one parameter: speed.
1. If speed is less than 70, it should print "0k" .
2.
Otherwise, for every 5km above the speed limit (70), it should give the driver one demerit point and print the total number of demerit points. For example, if the speed is 80, it should print: "Points: 2" .
3.
If the driver gets more than 12 points, the function should print: "License suspended"
A company is planning to provide an extra discount to it's customers. Every order has an order ID associated with it which is a sequence of digits. The discount is calculated as the count of unique repeating digits in the order ID. Write a code to find the discount percentile given to the customers.
Appeared houses in an appeared manufacturing unit that manufacturers and supplies finished goods to various e commerce companies