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

You know, I was lying when I said the last time that numbers associated with 3 are my favorite, because the one I actually like the most in the world are even numbers! But to make things harder for you, you have to pick the even numbers from a range of two given numbers. Ha!

Now, let's try this one more time! 


Instructions:

  1. Input two integers in one line, separated by a space. The first integer shall represent the starting point, and the other, the ending point.
  2. Print out all even numbers that are within the range of the starting and ending point (inclusive or including the ending point).


Input


1. The starting point

2. The ending point

Output


The first line will contain a message prompt to input the starting point.

The second line will contain a message prompt to input the ending point.

The last line contains the integers within the range.


Let’s play a game of FizzBuzz! It’s quite the same with your childhood "PopCorn" game, but with a little bit of twist to align it with programming.




Are you ready?




Instructions:


Input a positive integer in one line. This will serve as the ending point of your loop.

Loop from 1 to the ending point (inclusive) and perform the following statements:

If the number is only divisible by 3, print "Fizz"

If the number is only divisible by 5, print "Buzz"

If the number is divisible by both 3 and 5, print "FizzBuzz"

If nothing is true in the previous conditions, skip the number


Whole numbers are great, but I think we should also pay attention to decimal numbers, too.


So, how about we make a program that involves a lot of decimals?


Instructions:

  1. Continuously ask for floating point values (decimal numbers) using the do…while() loop, sum them all up, and store the total into one variable.
  2. The loop shall only terminate for the following reasons:
  3. A negative decimal number is inputted (but still included in the total sum)
  4. The total sum reaches 100.0 or more

2. A, e, i, o, u?


by CodeChum Admin



We've had enough about numbers, so why don’t we try evaluating characters now?



If you know how to identify what the vowel letters are, and you know how to count up to 5, then you’re good to go!





Instructions:



Using a do…while() loop, continuously scan for characters (one per line) and print it out afterwards. Remember to place a space before the character's placeholder when scanning so that the newline characters will be ignored and the correct values will be scanned.


The loop shall terminate due to either of the following reasons:


The inputted character is a vowel


The number of inputted characters has already reached 5.


For all of the test cases, it is guaranteed that if the number of inputted characters is less than 5, then there must be a vowel from among the inputted characters. Also, it is guaranteed that all the characters are in lowercase.

Instructions

Input four decimal numbers, they could be positive or negative.

Add all the negative numbers, and print the sum, up to 2 decimal places.


Input

A line containing four decimals/floats separated by a space.


Please program to output all integers between 0 and 200 that are divisible by 3 and whose single digit is 6.


Write a c program that reads a number representing the amount of minutes for a call

and calculates and prints the cost of the call


  1. Input a non-zero positive integer.
  2. Using while loop, print out each digit of the inputted integer in separate lines, starting from its rightmost digit until the leftmost digit of the number.
  3. Tip #1: Use % 10 to get the rightmost digit. For example, if you do 412 % 10, then the result would be the rightmost digit, which is 2.
  4. Tip #2: On the other hand, use / 10 to remove the rightmost digit. For example, if you do 412 / 10, then the result would be 41.
  5. Tip #3: You'd have to repeat Tip #1 and Tip #2 inside the while() loop for this problem while the inputted integer is not yet 0.

Create a program like SIMSIMI in the playstore that would ask the user at least 10-20 question. The program must interact with user using details about the user like name, birthday, etc.

Make me a program that accepts a random string (a series of characters). Then, look for a digit from that string and if there's at least one, print out "That one!" but if there's none, print out "No one..."


I know this is too sudden to ask you, but thank you in advance!


Tip: After your scan for the size, add a space after the placeholder like this so that the newline character directly after the number won't be scanned as one of the characters:

scanf("%d ", &size);


Input


1. Size of the string

2. Characters of the string


Output

The first line will contain a message prompt to input the size of the string.

The second line will prompt for the characters of the string.

The last line contains the appropriate string.


Enter·the·size:·18
Enter·the·characters:·CodeChum1sAwesome!
That·one!
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS