Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
dcoder
Explore topics
#dcoder
Global
Trending
Hot
New
Payout
Muted
Promoted
#dcoder
New
#dcoder
Follow to get notified about new posts with this tag
Get #dcoder by email
Follow
lochard
Programming & Dev
3y
Published via Ecency
The Armstrong Number @ Dcoder
Problem: An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, consider the number 371. The sum of the cube of its digits
$ 0.000
1
1
lochard
Programming & Dev
3y
Published via Ecency
Total Expenses @ Dcoder
Problem: Joey went for shopping. The shopkeeper gives a discount of 10% if the total expense exceeds 1000 . Given total expense as input, write a program to calculate the total money Joey has to give to
$ 0.000
0
lochard
Programming & Dev
3y
Published via Ecency
Buy The Bundle @ Dcoder
Problem: Jimmy wants to buy books for N students. He went to the bookshop to buy a bundle of books, each bundle has a different number of books. He wants to buy such a bundle that contains the number of
lochard
Programming & Dev
3y
Published via Ecency
Fare @ Dcoder
Problem: John is travelling by train, The fare of the train depends on the kilometer he traveled. For the first A kilometer, the fare is M and for the subsequent distance, it is N per kilometer. You are
lochard
Programming & Dev
3y
Published via Ecency
Ordinal Representation @ Dcoder
Problem: Numbers can be represented in cardinal form or ordinal form. Cardinal Form : 1, 2, 3, 4, 5, 6, etc. Ordinal Form : 1st, 2nd, 3rd, 4th, 5th, 6th, etc. You will be given cardinal form of a digit.
lochard
Programming & Dev
3y
Published via Ecency
The Beta Test Initiation @ Dcoder
Problem: Dcoder Team is working on an exciting new update in the app, but before releasing it to the public, our team has decided to test the app out on small percentage of users. This is known as the
lochard
Programming & Dev
3y
Published via Ecency
Dr. Primo visits ArrayCon @ Dcoder
Problem: Dr. Primo is a famous mathematician in Codeland. He is known to have numbers as his friends. He is especially in love with Prime Numbers. He goes to the city festival ArrayCon. Every time he is
lochard
Programming & Dev
3y
Published via Ecency
First and the Last Digit @ Dcoder
Problem: Ron is weak in mathematics.Knowing this fact John challenges him to find the sum of first and last digit of a given number. Help Ron to find the sum of first and last digit of a number. Input:
lochard
Programming & Dev
3y
Published via Ecency
The Running Race @ Dcoder
Problem: Alex and Ryan are having a running competition between themselves. They have to cover a distance of D meter. The speed of Alex and Ryan are X meter/second and Y meter/second respectively. Help
lochard
Programming & Dev
3y
Published via Ecency
Grade the Students @ Dcoder
Problem: In Dcoder school, a student will pass if he/she satisfies the following criteria: If he/she gets more than 70 marks in Mathematics. If he/she gets more than 50 marks in Algorithms. Given the marks
lochard
Programming & Dev
3y
Published via Ecency
Divide The Array @ Dcoder
Problem: Cody loves even numbers. He was bored and decided to print all the even numbers at the even indexes of an array(1-indexed). He wants your help to complete this task. Input: The first line of the
lochard
Programming & Dev
3y
Published via Ecency
What's the ASCII? @ Dcoder
Problem: You will be given a character having ASCII Code between 33 to 127. You need to print the ASCII Code of the character. Input: A single character. Output: Print the ASCII Code of the character in
lochard
Programming & Dev
3y
Published via Ecency
The Largest Gap @ Dcoder
Problem: Cody's teacher taught him the concept of arrays. She gave different types of homework for all the students so they won't able to copy. Cody has to find the largest gap between any two elements
lochard
Programming & Dev
3y
Published via Ecency
Ceil and Floor @ Dcoder
Problem: In mathematics and computer science, the floor and ceiling functions map a real number to the largest previous and the smallest following integer, respectively. consider a number x. ceil(x) :
lochard
Programming & Dev
3y
Published via Ecency
The Homework @ Dcoder
Problem: As the students were not focusing much on the lecture. The professor became very angry and decided to give a homework to all the students. So some of the students started trying to convince the
lochard
Programming & Dev
3y
Published via Ecency
Least Significant Bit @ Dcoder
Problem: In mathematics and digital electronics, a binary number is a number expressed in the base-2 numeric system or binary numeric system, which uses only two symbols: typically 0 (zero) and 1 (one).
lochard
Programming & Dev
3y
Published via Ecency
Text Editor @ Dcoder
Problem: John has created a text editor, which has lots of features but he forgot to add the conversion of Lowercase alphabet to an Uppercase Alphabet. He asks you for help to complete this task for him.
lochard
Programming & Dev
3y
Published via Ecency
Valid Quadrilateral @ Dcoder
Problem: John loves gardening. He believes that for good growth of the plant, the land should be quadrilateral. Given angles of 4 sides of the land. Find whether the land is a valid quadrilateral or not.
lochard
Programming & Dev
3y
Published via Ecency
Archie and his Homework @ Dcoder
Problem: Archie was given a homework by his teacher. He is given a fraction and he needs to write it in its reduced form. Archie is not good at Maths. Help Archie finish his homework. Input: 2 integers
lochard
Programming & Dev
3y
Published via Ecency
Numbered Triangle
Problem: You need to print this pattern upto N. For N = 4, 1 1 2 1 2 3 1 2 3 4 Input: A single positive integer N. Output: Numbered Triangle upto N. Do not leave trailing whitespaces at the end of each
← Latest
Older →
Discover communities
Explore communities
Create your community