#include using namespace std; void print_int_array(int* array, size_t length){ // Convert this to a do while loop cout << "["; for(int i = 0; i < length; i++) cout << array[i] << ", "; cout << "\b\b]\n"; } int main(){ // Convert this to a while loop for(int i = 0; i < 10; i++) cout << i << " "; cout << "\n"; // Convert this to a while loop int numbers[] = {3, 6, 9, 12, 15}; int j = 0; do { cout << numbers[j] << " "; j++; } while(j < 5); cout << "\n"; // Convert this to a for loop int k = 0; while(true){ if(k++ > 10) break; cout << k << " "; } // Convert this to a do while loop for(int i : numbers) cout << i*5 << " "; cout << "\n"; // Convert this to a for loop int l = 0; top: cout << numbers[l] * 100 << " "; l++; if(l < 5) goto top; cout << "\n"; print_int_array(numbers, 5); return 0; }