Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int x; // Deklarasi Variabel
- for (x = 1; x <=10; x+=2) // Kondisi Loop
- {
- cout << x << ", ";
- }
- }
- // Output '3, 5, 7, 9,'
Advertisement
Add Comment
Please, Sign In to add comment