Hello,
I have an assignment to make a program which take values in an array then ask the user to delete a particular value.
so far I have made this
what next i should do that it will delete that particular value and print the rest.Code:#include <stdio.h> #include <conio.h> void main(void) { clrscr(); int ab[6],a,b; for (a=0;a<=5;a++) { printf ("\nEnter value: "); scanf ("%d",&ab[a]); } printf ("Enter the value you wish to delete: "); scanf ("%d",&b); if (b==ab[a] {
waiting impatiently for reply.