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)
ID: 21800 - Available when: Unlimited - Due to: Unlimited
| 52 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:3.230.144.31
©2016-2021

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)
ID: 21806 - Available when: Unlimited - Due to: Unlimited
| 70 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)
ID: 21805 - Available when: Unlimited - Due to: Unlimited
| 64 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)
ID: 21804 - Available when: Unlimited - Due to: Unlimited
| 60 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)
ID: 21803 - Available when: Unlimited - Due to: Unlimited
| 61 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)
ID: 21802 - Available when: Unlimited - Due to: Unlimited
| 58 views
12,114 questions
158,015 answers
158,423 comments
4,514 users