Programming

618 Articles 12 Followers


Help Cody @ Dcoder

20 May 2023 1 minute read 0 comments Lochard $0.02

Title: Help Cody Problem: Cody is stuck in a problem and needs your help to get out of trouble. He was given a sorted array by his teacher. After his teacher left, he mistakenly rearranged some elements of the array. Help Cody sort the array before h...

The Armstrong Number @ Dcoder

18 May 2023 1 minute read 0 comments Lochard $0.01

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 is 3^3 + 7^3 + 1^3 = 27 + 343 + 1 = 371. Th...

Total Expenses @ Dcoder

17 May 2023 1 minute read 0 comments Lochard $0.04

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 the shopkeeper after the discount, if discount...

Buy The Bundle @ Dcoder

16 May 2023 1 minute read 0 comments Lochard $0.01

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 books, which can be distributed equally amongst...

Fare @ Dcoder

9 May 2023 1 minute read 0 comments Lochard $0.04

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 given total distance covered by train. Find out...

Ordinal Representation @ Dcoder

8 May 2023 1 minute read 0 comments Lochard $0.08

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. You have to print its ordinal form. Input: A si...

The Beta Test Initiation @ Dcoder

7 May 2023 1 minute read 0 comments Lochard $0.01

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 Beta Test. For a user to be eligible for a Beta T...

Why Should You Learn to Code?

5 May 2023 4 minute read 1 comment MintDice.com $0.09

Coding is a skill that’s become prevalent in our world today. From STEM programs to online courses, there are more ways than ever to master this skill. What are the benefits of taking time out of your typical schedule to learn to code? Why should you...

Dr. Primo visits ArrayCon @ Dcoder

4 May 2023 1 minute read 0 comments Lochard $0.02

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 given an array, he tells how many prime numbers...

N64 Debug Menus [Part 3]

3 May 2023 3 minute read 0 comments Lameshark $0.01

Super Smash Bros 64 [SSB64] was one of my favorite games growing up. I remember the game being so popular at one time, I was actually in a real life tournament with kids in the neighborhood where we drew brackets like a sports competition. A fighting...