Laboratori-7 Dilshodov Dilmurod


Download 34.15 Kb.
Sana24.04.2023
Hajmi34.15 Kb.
#1393839
Bog'liq
Dilmurod7


Laboratori-7

Dilshodov Dilmurod

7.List ustida quyidagi funksiyalar yordamida dastur tuzing:
Sort,size,insert.

#include


#include
using namespace std;
Int main()
{
int n;
cin>>n;
list l;
list::iterator it=l.begin();
l.insert(it,n);
l.sort();
cout<

return 0;


}

Download 34.15 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling