Feedback for these lessons is very much welcome. If you like or hate something about a lesson let us know, either on GitHub, via Mail or just tell us in person ;)
x
Pretty Output
To solve the following tasks, you need to use some functions that may be new to you.
No explanation is given on them, use man to find out how they work.
Write a program that outputs a function table like the following:
- In the first row, print all values x from 1 to 10.
- In the second row, print 1/x from 1 to 10.
Play around with the format string of printf() to create a nice table-like output.
Experts: Print a multiplication table instead (from 1*1 to 10*10)
##Solution##
Experts: