Computer Science, asked by jithinmathew4999, 2 months ago

#include<stdio.h>
int maino
{
char a[5]={'s', 't', 'a', '', 't'};
int i;
for(i=1;i<3;i=i+1)
{
switch(a[i])
{
case 'a':
a[i+1]=a[i];
break;
case 's':
a[i-1]=a[i];
break;
default:
a[i]=a[i-1]
}
}
for(i=1;i<4;i=i+1)
{
printf("%c", a[i]);
}
}​

Answers

Answered by pixibangtan
0

umm what is this? Can you please re type it so that we can understand the question...

Similar questions