Find Jobs
Hire Freelancers

Code for Program to perform array operations in c++

$30-250 USD

Ditutup
Dibuat lebih dari 12 tahun yang lalu

$30-250 USD

Dibayar ketika dikirim
Code for Program to perform array operations like append, insert, delete, edit, display and search and element in C++ #include<iostream.h> #include<stdio.h> #include<conio.h> main() { int array[15]; int no_el; clrscr(); cout<<"Enter the no of element :"; cin>>no_el; for(int i=0;i<no_el;i++) { cout<<"Enter the element : "; cin>>array[i]; } while(1) { clrscr(); cout<<endl<<"1. Append"; cout<<endl<<"2. Insert"; cout<<endl<<"3. delete by value"; cout<<endl<<"4. edit"; cout<<endl<<"5. display"; cout<<endl<<"6. search"; cout<<endl<<"7. exit"; cout<<endl<<"Enter your choice : "; int choice; cin>>choice; switch(choice) { case 1: cout<<"Enter the new element : "; int new_el; cin>>new_el; array[no_el]=new_el; no_el++; break; case 2: cout<<"Enter the position at which you want to insert : "; int pos; cin>>pos; cout<<"Enter the new element : "; cin>>new_el; pos--; for(i=no_el-1;i>=pos;i--) array[i+1]=array[i]; array[pos]=new_el; no_el++; break; case 3: cout<<"Enter the value to be search : "; int key; cin>>key; for(pos=0;pos<no_el;pos++) { if(array[pos]==key) break; } if(pos==no_el) { cout<<"Search key not found"; break; } for(i=pos;i<no_el;i++) array[i]=array[i+1]; no_el--; break; case 4: cout<<"Enter the position to be edit : "; cin>>pos; cout<<"Enter the new value for old position : "; cin>>array[pos-1]; break; case 5: cout<<endl; for(i=0;i<no_el;i++) cout<<endl<<"The element is : "<<array[i]; break; case 6: cout<<"Enter the value to be search : "; cin>>key; for(pos=0;pos<no_el;pos++) { if(array[pos]==key) break; } if(pos==no_el) { cout<<"Search key not found"; break; } cout<<"Search key found at : "<<pos+1; break; case 7: return(0); break; } getch(); } }
ID Proyek: 1148190

Tentang proyek

75 proposal
Proyek remot
Aktif 12 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
75 freelancers are bidding on average $38 USD for this job
Avatar Pengguna
ready to deliver
$30 USD dalam 2 hari
4,9 (81 ulasan)
6,5
6,5
Avatar Pengguna
HI, I m an old C++ expert. Hussien Sharaf
$30 USD dalam 1 hari
5,0 (13 ulasan)
5,2
5,2
Avatar Pengguna
please check PM
$30 USD dalam 0 hari
5,0 (2 ulasan)
3,9
3,9
Avatar Pengguna
I beleive I can help you.
$30 USD dalam 1 hari
5,0 (6 ulasan)
3,4
3,4
Avatar Pengguna
Please check PMB
$100 USD dalam 2 hari
3,0 (16 ulasan)
5,1
5,1
Avatar Pengguna
nothing but a peanut
$30 USD dalam 1 hari
4,5 (7 ulasan)
2,4
2,4
Avatar Pengguna
I am very good in c++ coding...waiting for your reply about the requirements of the workk
$30 USD dalam 1 hari
5,0 (1 ulasan)
1,5
1,5
Avatar Pengguna
Hi, I have excellent knowledge of C,C++ and can finish your project with high quality. Regards, Charles
$30 USD dalam 1 hari
5,0 (1 ulasan)
1,7
1,7
Avatar Pengguna
interested to do
$30 USD dalam 1 hari
4,0 (2 ulasan)
1,7
1,7
Avatar Pengguna
I am a student of Computer Science & Engineering. i can do this as much as possible.
$30 USD dalam 1 hari
5,0 (2 ulasan)
0,4
0,4
Avatar Pengguna
please check pm.
$100 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
pls check pm
$80 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Please check your PMB.
$100 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
hi i can do this project
$30 USD dalam 0 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Just have faith on me I will complete your project in just one day
$34 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
This is a easy task. I can do it easily.
$30 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
please check my bid i will complete your project
$30 USD dalam 2 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Hello. It's a piece of cake for me. I've studied about c/c++ for 4 years.
$30 USD dalam 0 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I can make it in 2 days . I have done those type of applications in my mca.
$50 USD dalam 2 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I already did a lot of those while in college. A couple of days of coding and then some testing and voilá.
$30 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera INDIA
kolkata, India
0,0
0
Anggota sejak Jul 25, 2011

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.