Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- void Dane(int &m, float tab[])
- {
- cout<<"Podaj ilosc elementow zbioru: ";
- cin>>m;
- cout<<"Podaj kolejno liczby: "<<endl;
- for(int i=0; i<m; i++)
- {
- cout<<"liczba("<<i+1<<") = ";
- cin>>tab[i];
- cout<<endl;
- }
- }
- void Wypisz(int m, float tab[])
- {
- for(int i=0; i<m; i++)
- cout<<tab[i]<<" "<<endl;
- }
- void Zamiana(float &a, float&b)
- {
- float temp;
- temp a;
- a=b;
- b=temp;
- }
- void Bubble_Sort(int m, float tab[])
- {
- for(int j=0; j<m; j++)
- {
- for(int i = 0; i<m-1; ++)
- }
- }
- int main()
- {
- cout << "Hello world!" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement