summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/C/L2.1c
blob: 4158208bb59e98432c0307f27bc45c543b735b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#print
(Section 1.2)
What value is printed by this printf statement?

	printf("%.3f", 3.141592654);

Type "answer XXX", where XXX is the value.
#copyin
#user
#uncopyin
#match 3.142
#fail
Remember about rounding?
#log
#next
2.1d 10