diff options
Diffstat (limited to 'usr.bin/learn/lib/C/L2.1d')
-rw-r--r-- | usr.bin/learn/lib/C/L2.1d | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/C/L2.1d b/usr.bin/learn/lib/C/L2.1d new file mode 100644 index 00000000000..94f328efd30 --- /dev/null +++ b/usr.bin/learn/lib/C/L2.1d @@ -0,0 +1,15 @@ +#print +What value is printed by this printf statement? + + printf("%%3.1f", 3.141592654); + +Type "answer XXX", where XXX is the value. +#copyin +#user +#uncopyin +#match %3.1f +#fail +Look again - it's %% +#log +#next +2.1e 10 |