Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- using namespace std;
- int main()
- {
- int a,b;
- double c;
- int tab[10];
- for (a=0; a<10; a++)
- {
- tab[a];
- for (b=1; b<11; b++)
- {
- c=4/b;
- tab[a]=c;
- cout<<tab[4]<<endl;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement