Sale!

Project 8 – String manipulation | Write a program that will find the sum of the digits of an integer

Original price was: $15.00.Current price is: $10.00.

-33%
(1 customer review)

Free worldwide shipping on all orders over $50

  • 30 days easy returns
  • Order yours before 2.30pm for same day dispatch
Guaranteed Safe Checkout

Write a program that will find the sum of the digits of an integer.
Project 8 – String manipulation | Write a program that will find the sum of the digits of an integer
$15.00 Original price was: $15.00.$10.00Current price is: $10.00.

Project 8 – String manipulation

Write a program that will find the sum of the digits of an integer.

Deliverables

  • The user enters an integer
  • The program finds the sum of the digits
  • The program displays the sum with appropriate labels.

SAMPLE RUN (User entry is in RED)

User’s Entry

Enter an integer: 1239

Results

The sum of the digits is 15