November 2018 1 16 Report
Programowanie w c++.

Program, pozwalający przetestować działanie funkcji mini. F-cja mini ma pobierać jako argument 2 tablice 100-elementowe i integera. W tablicach przechowywane będa integery. F-cja mini ma zwracać sumę trzeciego argumentu i minimum obu tablic.
Obrazowo ma to być coś koło tego:
int t1[] = {1,1,1,1,1,1,1.....}
int t2[] = {1,2,3,4,5,6,7.....}
int a = 7 mini(t1,t2,a) = min (min t1, min t2) + a
t1, t2 = po 100 losowych elementów, wylosowane poza funkcją !!
More Questions From This User See All

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.