

Gaurav
- Rate R53
- Response 1h

R53/h
Unfortunately, this tutor is not available
- Maths
Maths techer for classfluent in many tppics which are important for board
- Maths
Lesson location
About Gaurav
https://www.superprof.co.in/tutor/?utm_source=google&utm_medium=ads_pr&utm_campaign=PR_IN_SEARCH_recrute&gclid=EAIaIQobChMIo8Ou_IaAgQMV8hF7Bx1UtAbkEAAYASAAEgJyyvD_BwE array. It is also checked whether deletion is possible or not.
For example if array is containing five elements and you want to delete element at position six which is not possible.
#include
int main()
{
int array[100], position, c, n;
printf("Enter number of elements in array\n");
scanf("%d", &n);
printf("Enter %d elements\n", n);
for ( c = 0 ; c < n ; c++ )
scanf("%d", &array[c]);
printf("Enter the location where you wish to delete element\n");
scanf("%d", &position);
if ( position >= n+1 )
printf("Deletion not possible.\n");
else
{
for ( c = position - 1 ; c < n - 1 ; c++ )
array[c] = array[c+1];
printf("Resultant array is\n");
for( c = 0 ; c < n - 1 ; c++ )
printf("%d\n", array[c]);
}
return 0;
}
About the lesson
- All levels
- English
Languages in which the lesson is available :
English
https://www.superprof.co.in/tutor/?utm_source=google&utm_medium=ads_pr&utm_campaign=PR_IN_SEARCH_recrute&gclid=EAIaIQobChMIo8Ou_IaAgQMV8hF7Bx1UtAbkEAAYASAAEgJyyvD_BwE (concealed information) array. It is also checked whether deletion is possible or not.
For example if array is containing five elements and you want to delete element at position six which is not possible.
#include
int main()
{
int array[100], position, c, n;
printf("Enter number of elements in array\n");
scanf("%d", &n);
printf("Enter %d elements\n", n);
for ( c = 0 ; c < n ; c++ )
scanf("%d", &array[c]);
printf("Enter the location where you wish to delete element\n");
scanf("%d", &position);
if ( position >= n+1 )
printf("Deletion not possible.\n");
else
{
for ( c = position - 1 ; c < n - 1 ; c++ )
array[c] = array[c+1];
printf("Resultant array is\n");
for( c = 0 ; c < n - 1 ; c++ )
printf("%d\n", array[c]);
}
return 0;
} array. It is also checked whether deletion is possible or not.
For example if array is containing five elements and you want to delete element at position six which is not possible.
#include
int main()
{
int array[100], position, c, n;
printf("Enter number of elements in array\n");
scanf("%d", &n);
printf("Enter %d elements\n", n);
for ( c = 0 ; c < n ; c++ )
scanf("%d", &array[c]);
printf("Enter the location where you wish to delete element\n");
scanf("%d", &position);
if ( position >= n+1 )
printf("Deletion not possible.\n");
else
{
for ( c = position - 1 ; c < n - 1 ; c++ )
array[c] = array[c+1];
printf("Resultant array is\n");
for( c = 0 ; c < n - 1 ; c++ )
printf("%d\n", array[c]);
}
return 0;
}
Rates
Rate
- R53
Package rates
- 5h: R265
- 10h: R530
online
- R53/h
Similar Maths tutor profiles
Mammuso
Roodepoort & online
- R300/h
- 1st lesson free
Avuyile
Cape Town & online
- R80/h
Wandisa
Brakpan & online
- R240/h
- 1st lesson free
Nadia
Cape Town & online
- R350/h
- 1st lesson free
Tsebisho
Pretoria & online
- R215/h
- 1st lesson free
Dr Deniela
Pretoria & online
- R300/h
- 1st lesson free
Unity
Pretoria & online
- R130/h
- 1st lesson free
Convice
Pretoria & online
- R150/h
Nhlanhla
Benoni & online
- R150/h
- 1st lesson free
Mbongeni
Cape Town & online
- R140/h
- 1st lesson free
Nonsikelelo
Springs & online
- R190/h
- 1st lesson free
Lethabo
Pretoria & online
- R140/h
- 1st lesson free
Kudzi
Cape Town & online
- R300/h
Yedidyah
Pretoria & online
- R200/h
Louis
Cape Town & online
- R1000/h
Ariane
Randburg & online
- R350/h
- 1st lesson free
Shiraaz
Cape Town & online
- R250/h
Tapiwa
Sandton & online
- R250/h
- 1st lesson free
Kayleigh
Cape Town & online
- R180/h
- 1st lesson free
-
See Maths tutors
