Skip to content
My Media
My Playlists
Login
Add New
Media Upload
YouTube
Stitch videos
My Media
My Playlists
Login
Home
Events
Channels
Help
Home
Events
Channels
Help
Basic for loop in C++
From
Lane Schwartz
views
comments
Related Media
Details
Back
#include <iostream>
int main() {
for (int n{10}; n > 0; n = n - 1) {
std::cout << n << "\n";
}
}
Tags