A note from duthcode team.

Hey what's up? We are a free website solely relying on advertisement revenue! Please support us by disabling your adBlock for this site and good things will happen!

Refreshing Quote

The whole purpose of education is to turn mirrors into windows.

Sydney J. Harris

Twin Primes

A twin prime is a prime number that is either 2 less or 2 more than another prime number—for example, either member of the twin prime pair (41, ...

Pivot Element

Consider a one-dimensional table of integers of positive N-location numbers (N = known). Enter values ​​in the table using random numbers in the...

Max And Place Element Array

Write a program in C language that will introduce N integers in a one-dimensional N-table (N = known) and will find the largest element as well as the...

Amicable Numbers

Amicable numbers are two different numbers so related that the sum of the proper divisors of each is equal to the other number. The smallest pair of ...

Simple Array Search

Write a program in C language that will insert N integers in a one-dimensional arrays of N size (N = known). Then an integer z will be entered to the...

Square Random Number

The square of an integer N can be calculated by adding all integers from 1 to N and returning back to 1, example: 42 = 1 + 2 + 3 + 4 + 3 + 2 + 1 = 16...

Mersenne Prime Numbers

The Mersenne numbers (integers and positive), even 𝑀𝑛 are in the form𝑀𝑛 = 2n - 1A Mersenne number is called Mersenne prime if it is the first number a...

Abs Differences Of Array Elements

Enter values ​​in a one-dimensional array of positive integers in the range [1-999], N (N = known). Numbers can be entered in any way (scanf_s command...