1.14 For Döngüsü
for (başlangıç; koşul; artırma) {
// Çalıştırılacak kod bloğu
}#include <iostream>
using namespace std;
int main() {
for (int i = 1; i <= 5; i++) {
cout << "Sayi: " << i << endl;
}
return 0;
}C++ İç İçe Döngüler (Nested Loops)
C++ Foreach Döngüsü
Last updated