math.h1 [홍정모의 따라하며 배우는 C언어] 6.4 관계 연산자(Relational Operators) 6.4 관계 연산자(Relational Operators) is less thanis less than or equal to==is equal to>=is greater than or equal>is greater than!=is not equal to 나머지는 우리가 아는 것과 비슷한데, 같다와 다르다는 좀 상이하므로 한 번 다시 보도록 하자.간단한 사용 예.#include int main(){int n = 0;while (n++ 또 다른 사용 예#define _CRT_SECURE_NO_WARNINGS#include int main(){ char c = 'A'; while (c != 'Z') printf("%c", c++);}이때까지 배운 것으로 관계연산자 응용 예시#define _CRT_SECUR.. 2024. 9. 26. 이전 1 다음