Gaurav - Maths tutor - Noida
Gaurav - Maths tutor - Noida

Gaurav

  • Rate R53
  • Response 1h
Gaurav - Maths tutor - Noida

R53/h

See Maths tutors

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;
}

See more

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;
}

See more

Rates

Rate

  • R53

Package rates

  • 5h: R265
  • 10h: R530

online

  • R53/h

Similar Maths tutor profiles

  • Mammuso

    Roodepoort & online

    5 (43 reviews)
    • R300/h
    • 1st lesson free
  • Avuyile

    Cape Town & online

    4.9 (56 reviews)
    • R80/h
  • Wandisa

    Brakpan & online

    5 (40 reviews)
    • R240/h
    • 1st lesson free
  • Nadia

    Cape Town & online

    5 (15 reviews)
    • R350/h
    • 1st lesson free
  • Tsebisho

    Pretoria & online

    5 (18 reviews)
    • R215/h
    • 1st lesson free
  • Dr Deniela

    Pretoria & online

    5 (62 reviews)
    • R300/h
    • 1st lesson free
  • Unity

    Pretoria & online

    5 (41 reviews)
    • R130/h
    • 1st lesson free
  • Convice

    Pretoria & online

    4.9 (25 reviews)
    • R150/h
  • Nhlanhla

    Benoni & online

    5 (16 reviews)
    • R150/h
    • 1st lesson free
  • Mbongeni

    Cape Town & online

    4.9 (16 reviews)
    • R140/h
    • 1st lesson free
  • Nonsikelelo

    Springs & online

    5 (47 reviews)
    • R190/h
    • 1st lesson free
  • Lethabo

    Pretoria & online

    4.9 (12 reviews)
    • R140/h
    • 1st lesson free
  • Kudzi

    Cape Town & online

    5 (18 reviews)
    • R300/h
  • Yedidyah

    Pretoria & online

    5 (13 reviews)
    • R200/h
  • Louis

    Cape Town & online

    5 (22 reviews)
    • R1000/h
  • Ariane

    Randburg & online

    4.8 (16 reviews)
    • R350/h
    • 1st lesson free
  • Shiraaz

    Cape Town & online

    5 (12 reviews)
    • R250/h
  • Tapiwa

    Sandton & online

    5 (14 reviews)
    • R250/h
    • 1st lesson free
  • Kayleigh

    Cape Town & online

    5 (10 reviews)
    • R180/h
    • 1st lesson free
  • See Maths tutors