Advertisement
CzarnyBarszcz

Untitled

Mar 22nd, 2020
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. int* tablica_4(const int n)
  2. {
  3. int*T4=new int[n];
  4. int vmax=0;
  5. for(int i=0;i<n;i++)
  6. {
  7. if(T4[i]>T4[vmax])
  8. {
  9. vmax=i;
  10. }
  11. }
  12. return T4[vmax];
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement