#include <stdio.h>main (){ int i;for (i=1;i<=5;i++){ if (i%2) printf("*");else continue;printf ("#");}printf ("$\n");}结果:*#*#*#$。尽量详细点!鄙视复制粘贴!