0 like 0 dislike
1.5k views

Question 7: Please complete the program as the set output *can be answered 2 times* 

#include <$1>
#include <stdlib.h>
$2 f(float);

int main(int argc, char *argv[]) {
	
    int a;
    a = f(3.1415);
    return 0;
}

float f(float bb)
{
	$3("%f", bb);
    return $4;
}

Output

3.141500

 

[Exam] asked in Final examination by (5.9k points)
ID: 41937 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 1.5k views

26 Answers

0 like 0 dislike
Hidden content!

***
**

bb
100/100 answered by (268 points)
0 like 0 dislike
Hidden content!
*

***

bb
100/100 answered by (269 points)
0 like 0 dislike
Hidden content!
*
**
* *

bb
100/100 answered by (183 points)
0 like 0 dislike
Hidden content!
*
***
** *

bb
100/100 answered by (243 points)
0 like 0 dislike
Hidden content!
**
*
**

bb
100/100 answered by (269 points)
0 like 0 dislike
Hidden content!
*** **
***
* *

bb
100/100 answered by (244 points)
0 like 0 dislike
Hidden content!
***
*
*

bb
100/100 answered by (220 points)
0 like 0 dislike
Hidden content!
*
** **
**

bb
100/100 answered by (192 points)
0 like 0 dislike
Hidden content!
** *
* **
* **

bb
100/100 answered by (246 points)
0 like 0 dislike
Hidden content!
*
** *
**

bb
100/100 answered by (153 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.59.89
©2016-2024

Related questions

0 like 0 dislike
22 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41975 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 2.6k views
0 like 0 dislike
21 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41968 - Available when: Unlimited - Due to: Unlimited
| 2.7k views
0 like 0 dislike
30 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41942 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 3.1k views
0 like 0 dislike
21 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41935 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 1.2k views
0 like 0 dislike
23 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41926 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 1.4k views
12,783 questions
183,443 answers
172,219 comments
4,824 users