为什么每次结果都是you are beautiful?

#include<stdio.h>main(){int a,b;char c;a=1;b=3;scanf("%s",&amp;c);if(c=1)printf("you are beautiful \n");else if(c=2)printf("you are ugly \n");elseprintf("error \n");getch();}为什么每次结果都是you are beautiful
C语言 | 2009-04-04 12:59 | 阅读 1921 次 | 评论 1 条
文章归档