Questions: 1 978

Answers by our Experts: 1 850

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

Output all combinations of character variables a, b, and c, in the order shown below. If a = 'x', b = 'y', and c = 'z', then the output is:

xyz xzy yxz yzx zxy zyx




3. Ms. Seena has brought 10 items and she wants to print the item with minimum and maximum cost. Write a software program to do it.


Count the Trail

by CodeChum Admin

Help, I'm lost!


I usually find my way around here but I somehow lost my glasses along the way. I can easily get back home as long as I can tell how many zeroes I left in my trail. Would you mind telling me how many zeroes are trailing?


Note: Trailing zeroes are the zeroes found at the right side of a number.

Input


1. The number to be evaluated


Constraints

This can only be a positive integer.

Output

The first line will contain a message prompt to input the number to be evaluated.

The second line will contain the number of trailing zeroes.

Enter·the·number:·24100
Trailing·zeroes·=·2

"Even" Now

by CodeChum Admin

I'm really fond of even numbers, you know? That's why I'll be letting you make another even number problem yet again. This time, you need to print from a range of two inputted numbers, n1 and n2 (inclusive), all the even numbers from n2 down to n1, in descending order.


Input


1. Value of n1


Description

The first integer of the range

Constraints

The value of n1 is guaranteed to be lesser than or equal to n2.

Sample

3

1,2,3,...what?

by CodeChum Admin

I’m Dr. Frankenstein, and I’ve just created an intelligent monster! It can even count numbers now but the problem is, it can only count up to 3, so maybe it isn’t so intelligent after all. I want to use my creation to terrorize the villages but it keeps malfunctioning when it sees a digit that is greater than 3 so the villagers just put up signs of digits greater than 3. Make a program that is able to recognize digits greater than 3 so that it can avoid it or I'll have my monster terrorize YOU instead!


Input


1. Integer n


Description

The integer to be processed.

Constraints

0 <= n <= 2147483647

Sample

45

5. Count the Trail

by CodeChum Admin

Help, I'm lost!


I usually find my way around here but I somehow lost my glasses along the way. I can easily get back home as long as I can tell how many zeroes I left in my trail. Would you mind telling me how many zeroes are trailing?


Note: Trailing zeroes are the zeroes found at the right side of a number.

Input


1. The number to be evaluated


Constraints

This can only be a positive integer.

Output


The first line will contain a message prompt to input the number to be evaluated.

The second line will contain the number of trailing zeroes.


4. Continuous Inputs


by CodeChum Admin



Write a program that will keep asking the user to input integers until he inputs -1, or the sum of all inputs have reached or exceeded 2000. When the sum has exceeded 499, print "You're off to a good start!". When the sum exceeds 999, print "You're halfway through!". Finally, when the sum exceeds 1499, print "You're almost there!".





If the program ended because of an input of -1, print "Program was terminated. Your total sales are: " and then the actual value of the total sales. Otherwise, print "Congratulations! Your total sales are: "


Create a program that will take in an input integer number from the user. And will display each digit in word form. However, three digits will instead be shown as an enlarged font. These digits are 2, 4 and 5. These digits will be displayed in an arrangement of asterisks (*). The size of the digits will be based on the digit previous to the enlarged digit. If the first digit fed is an enlarged input, then the default size is 5.



Creat a game of 4 donkey in c programing, The game will be a text based game that shows the donkeys being transferred. The game should begin by displaying how many donkeys are in which stable as well,The game will begin by asking the player which donkeys will be sent to the other stable. Donkeys are labeled 1 to 4. Should the player wish not to send a donkey, the player can put 0 (zero) instead. When the game is completed, the game will display to the player if the route taken was fast or not. If the time it took for all the donkeys to be transferred is over 13 hours, then that is regarded as slow. Otherwise, this should be regarded as fast.


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.


using structure in code


Input: 6(number of students) {4 , 9 , 5 , 3 , 2 , 10}


Output: {0 , 0 , 1 , 3 , 4 , 0}


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS