Sum of the Numbers Between Two Entered Numbers

Wed, Jan 18, 2012 One-minute read

In this one we will build a program that takes two values from the user and adds up the numbers that fall between them. The catch is that the two endpoints themselves, the first and last numbers, are left out of the total.

 

– Turkish Version –

Girilen iki sayının arasındaki sayıların toplamı

Bu sefer, kullanıcının girdiği iki sayıyı alıp aralarında kalan sayıları toplayan bir program yapacağız. İşin püf noktası şu: uçtaki iki sayı, yani ilk ve son sayı, toplama dahil edilmiyor.