#include <iostream>
void printArr(string data[], int num){
for(int i=0;i<num;i++){
cout << data[i] << endl;
}
}
int main(){
string names = {"lady gaga","bill gates",
"aura kasih","steve jobs"};
printArr(names,4);
return 0;
}
No comments:
Post a Comment