3 like 0 dislike
#include <stdio.h>

int main()

{

int a = 3, b = 5, c;

a=(a>3)+(b<=5);

b=(a==3)+((b-2)>=3);

c=(b!=6);

printf(“%d %d %d\n”,a,b,c);

return 0;

}

 

References: C From Theory
[Normal] Essay (Open question) - asked in Introduction to Computer Programming I (C) by (20.9k points)
Available when: Unlimited - Due to: Unlimited
| 22 views
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.68.65.50
©2016-2020

Related questions

3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 25, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
Available when: Unlimited - Due to: Unlimited
| 27 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 25, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
Available when: Unlimited - Due to: Unlimited
| 19 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 25, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
Available when: Unlimited - Due to: Unlimited
| 24 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 25, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
Available when: Unlimited - Due to: Unlimited
| 21 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 25, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
Available when: Unlimited - Due to: Unlimited
| 25 views
10,769 questions
120,689 answers
112,784 comments
3,802 users