int tugas = 10, yangSelesai = 0; while(yangSelesai < tugas){ kerjain(); tugas++ } literally us right now.