Using fprintf() with different format (%*s.*lf)

Writing a program that outputs PI in different formats, as given below (and also in PIs.txt). You can use M_PI from math.h. Codes with fewer lines than 30 will get extra marks (my code is 21 lines excluding comments). Like Bellow Figure. I use the %*s and %*lf format for this printing


Posted in CTagged

Leave a Reply

Your email address will not be published. Required fields are marked *