3 like 0 dislike
184 views
#include <stdio.h>

int main()

{

double i = 14, j = 5, avg;

avg = i+j/2;

printf("Avg E %.2f\n", avg);

return 0;

}

 

References: C From Theory
[Normal] Essay (Open question) - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21760 - Available when: Unlimited - Due to: Unlimited

edited by | 184 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.178.223
©2016-2024

Related questions

2 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21763 - Available when: Unlimited - Due to: Unlimited
| 220 views
3 like 0 dislike
0 answers
[Normal] Multichoice - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21742 - Available when: Unlimited - Due to: Unlimited
| 581 views
2 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21765 - Available when: Unlimited - Due to: Unlimited
| 377 views
2 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21764 - Available when: Unlimited - Due to: Unlimited
| 203 views
2 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21762 - Available when: Unlimited - Due to: Unlimited
| 388 views
12,783 questions
183,443 answers
172,219 comments
4,824 users