For Increment > 1

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; int inclebihdari1 { int x = 0; // for(x=0; x < 10; x+2) { // Wrong for(x=0; x < 10; x+=2) { // Right cout << "Isi x : "<< x << "\n"; } return 0; } int decrlebihdari1 { int x = 0; // for(x=0; x < 10; x-2) { // Wrong for(x=10; x > 0; x+=2) { // Right cout << "Isi x : "<< x << "\n"; } return 0; } int main() { decrlebihdari1(); return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines