Perulangan Menggukan For
Source Code :
Test Run :
Full Source Code :
#include "iostream";
using namespace std;
int main() {
int x = 10;
for (int i = 0; i < x; i++)
{
cout << " " << i + 1 << endl;
}
system("pause");
}
Sekian dan Terima Kasih Semoga Bermanfaat :)
No comments:
Post a Comment