Physics, asked by sujatasheoran1999, 4 months ago

what do you understand by format statements ? explain with example​

Answers

Answered by FangYen
0

Answer:

The period is immediately followed by another integer giving the number of digits to be printed (or read) to the right of the number's decimal. For example if the computer contains the number 11.23456, then "f10. 3" in an output format results in a printed number " 11.234" (four spaces to the left of the number).

Answered by christiansolomon
0
Format statements. So far we have mostly used free format input/output. This uses a set of default rules for how to input and output values of different types (integers, reals, characters, etc.). Often the programmer wants to specify some particular input or output format, e.g., how many decimals places in real numbers ...

Hope this helped u
Similar questions