Infinite Loop in C++

Tue, Jan 17, 2012 One-minute read

This little program asks the user for a number and then checks it: if the number turns out to be less than 8, the program drops into an infinite loop.

Here is the code:

 

 

– Turkish Version –

Sonsuz Döngü C++

Bu küçük program kullanıcıdan bir sayı isteyip onu kontrol ediyor: eğer girilen sayı 8’den küçük çıkarsa program sonsuz döngüye giriyor.

Kodlarımız şöyle: