I\'m trying to write a number to two decimal places using printf() as follows:
printf()
#include int main() { printf(\"When this number:
For %d part refer to this How does this program work? and for decimal places use %.2f
%d
%.2f