C++ Taskbook Level 4.1
Задание 1
Given a string of letters and numbers, get the position of the first digit in that string.
Задание 2
Write a program that will generate the following string:
cpp"xxxxx"
Задание 3
Given an array:
cppint[] {1, 0, 2, 3, 0, 5}
Remove all zeros from the array and write the result to a new array:
cppint[] {1, 2, 3, 5}
Задание 4
Given an array:
cppint arr[5]
Write code that will fill this array with powers of two:
cpp{2, 4, 8, 16, 32}