complete the body of a function print. //I can only use go to or a while loop. I can't use nested for loops.
include
using namespace std;
void print(char a[][2], int row, int col);
int main () { char a [3][2] = {{'B','c'},{'a','D'},{'k','L'}}; print (a,3,2);//output: Bak BaL BDk BDL cak cal cDk cDl return 0; }
Aucun commentaire:
Enregistrer un commentaire