✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Write a program in C++ to find the sum of the first and last digits of a number.
Use while loop to solve this task.
Sample Output:Input any number: 12345The first digit of 12345 is: 1The last digit of 12345 is: 5The sum of first and last digit of 12345 is: 6
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!