ตัวอย่างโปรแกรม  จงหาผลการรัน  55  80  30  79 #include int main(int argc, char **argv) { int point; printf( Enter your points : ); scanf( %d , &point); if ((point = 80)) printf( Grade A\n ); else if ((point = 70)) printf( Grade B\n ); else if ((point = 60)) printf( Grade C\n ); else if ((point = 50)) printf( Grade D\n ); else printf( Grade F\n ); } #include int main(int argc, char **argv) { int point; printf( Enter your points : ); scanf( %d , &point); if ((point = 80)) printf( Grade A\n ); else if ((point = 70)) printf( Grade B\n ); else if ((point = 60)) printf( Grade C\n ); else if ((point = 50)) printf( Grade D\n ); else printf( Grade F\n ); }
{}