Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void wpisz(float *T)
- {
- float x=0.5;
- for(int i=0;i<100;i++)
- {
- T[i]=x;
- x+=0.5;
- }
- }
- void wypisz(float *T)
- {
- for(int i=99;i>=0;i--)
- {
- cout<<T[i]<<endl;
- }
- }
- main()
- {
- float tab[100];
- wpisz(&tab[0]);
- wypisz(&tab[0]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement