The basics of programming in c++ for beginners

Additional problems with solutions C ++

This additional collection of problems with solutions from site visitors. lessons on the topics of the problem of our site here.

 №A taskAuthor SolutionsDifficulty level
 1two-tariff electricity meter ** 
Check bracket expression *** 
Simplify source code**
Calculate the number of days between datesStiletto**
The construction of the power**
Counting the mean and variance of the number series***
Building a recurring decimal***
tower of Hanoi*** 
Collatz conjecture*** 
10 Counting digits in the number**
11 Filling the word line** 
12 Append figure to the number of**
13The class of "geometric progression"***
14It has the number-palindrome in the array**

Do you have an interesting problem with the solution in C ++? We invite you to share them with our visitors. For this write to administrator. In an insert statement of the problem and the source code (decision).

11 thoughts on “Additional problems with solutions C ++

  1. Solve the problem pzh
    The first wall of the triangle is a. Second wall in 2.5 times more, than the first wall. The third wall is equal to half of the first wall. Find the perimeter. (use cin operators>>, cout<< )

  2. Help write a program for this task
    Petryk Pyatochkin lined up the elephants and counted them for each color separately. Everything happens 8 colors of baby elephants. N lined up (10<N<999) the elephants. How many baby elephants of each color are in front of Petrik? It is desirable to count them after passing only once before the formation.

  3. Petya Pyatochkin lined up elephants in a row and counts them for each color separately. Everything happens 8 flowers elephants. In a line lined up N (10 <N <999) elephants. How many elephants of each color stand in front of Petya? It is advisable to count them after passing only once before the formation.

Leave a Reply to Stas Cancel reply

Your email address will not be published. Required fields are marked *