3 like 0 dislike
#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)
Available when: Unlimited - Due to: Unlimited

edited by | 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:162.158.78.248
©2016-2020

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)
Available when: Unlimited - Due to: Unlimited
| 47 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)
Available when: Unlimited - Due to: Unlimited
| 100 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)
Available when: Unlimited - Due to: Unlimited
| 66 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)
Available when: Unlimited - Due to: Unlimited
| 42 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)
Available when: Unlimited - Due to: Unlimited
| 63 views
10,551 questions
115,652 answers
103,526 comments
3,772 users