0 like 0 dislike

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)
Available when: Unlimited - Due to: 2018-01-17 16:30
| 282 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)
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.32
©2016-2021

Related questions

0 like 0 dislike
22 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
Available when: Unlimited - Due to: 2018-01-17 16:30
| 297 views
0 like 0 dislike
21 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
Available when: Unlimited - Due to: Unlimited
| 360 views
0 like 0 dislike
30 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
Available when: Unlimited - Due to: 2018-01-17 16:30
| 469 views
0 like 0 dislike
21 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
Available when: Unlimited - Due to: 2018-01-17 16:30
| 132 views
0 like 0 dislike
23 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
Available when: Unlimited - Due to: 2018-01-17 16:30
| 185 views
11,163 questions
132,617 answers
129,948 comments
3,823 users