#include <iostream> int main() { int arr[4][1] = {{310}, {220}, {800}, {1000}}; for (int i = 0; i < 4; i++) { std::cout << arr[i][0] << std::endl; } return 0; } //OUTPUT: //310 //220 //800 //1000
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment