下面 对么解决方法

下面 对么#include stdio.h#include string.hvoid main(){char s[100],t[100]printf(Please enter s

下面 对么
#include "stdio.h"
#include "string.h"
void main()
{
  char s[100],t[100];
  printf("Please enter string S:");
  scanf("%s",s);
  char r[100];
  int l , n=0;
  l = strlen(s);
  for (int i=0 ; i<l ; i+=2)
  {
  if (s[i]%2=0)
  {
  t[n] = s[i];
  n++;
  }
  }
  t[n+1]=0;
  printf("%s",t);
}

[解决办法]
你要什么效果?
[解决办法]
这段程序想干什么呢?

这个地方
if (s[i]%2=0)
应该写成
if (s[i]%2==0)