Advertisement
Imran1107048

Row-Column print

Jun 8th, 2021
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. cout << fixed << setprecision(7);
  8.  
  9. int column = 100, row = 10000;
  10. double value = 1.1234567;
  11.  
  12. for(int i=0;i<row;i++){
  13. for(int j=0;j<column;j++){
  14. cout << value << " ";
  15. value += 0.0000100;
  16. }
  17. cout << endl;
  18. }
  19. return 0;
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement