#include <iostream> using namespace std; int main() { int x,y,z,max,a,b; cout<<”masukkan jumlah angka = “; cin>>max; for ( x=1 ; x<=max; ) { if (x<=max){ for ( z=1;z<x+1;z++) {cout<<z;} x=x+1;} if (x<=max){ for ( a=1;a<x+1;a++) {cout<<a