Aj giỏi về Pascal cho mh` hỏi với............. :>?

Các bạn giúp mh` viết chương trình tính tổng giá trị các chữ số trong một số nguyên nhập từ bàn phim' đk ko ?

VD: số nhập vào là 2547 ---> tổng cần tìm là 2+5+4+7=18.

Thanks trc! ^^

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 1QUIZZ.COM - All rights reserved.