Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3.  
  4. using namespace std;
  5.  
  6.  
  7. int main()
  8. {
  9. int a,b;
  10. double c;
  11. int tab[10];
  12.  
  13. for (a=0; a<10; a++)
  14. {
  15. tab[a];
  16. for (b=1; b<11; b++)
  17. {
  18. c=4/b;
  19. tab[a]=c;
  20. cout<<tab[4]<<endl;
  21. }
  22. }
  23.  
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement