A conversion specification %7.4f means ____________

A conversion specification %7.4f means ____________
A. print a floating point value of maximum 7 digits where 4 digits are allotted for the digits after the decimal point
B. print a floating point value of maximum 4 digits where 7digits are allotted for the digits after the decimal point
C. print a floating point value of maximum 7 digits
D. print a floating point value of minimum 7 digits where 4 digits are allotted for the digits after the decimal point
 
Answer: a
Explanation: The conversion specification %7.4f means that it will print floating point number maximum of 7 digits and 4 digits after the decimal point.
 

Tìm kiếm

Back
Top