Question: 5) multiple floating points aligned by the decimal point in C programming, only allow to use %d, %c for printf, use if, if-else and while
5) multiple floating points aligned by the decimal point in C programming, only allow to use %d, %c for printf, use if, if-else and while loop.
a)read in x number of floating points, where x is the positive integer(assume the number is less than 20). You can assume that the user will enter x floating points separated by spaces.
b)once all of the x floating points have been entered, they should be printed out with decimal points aligned.

For input 45 . 678, 4567 . 8, 4 . 5678. -12, 0 . 3456789, 456. 78. the output will be: 45.678 45678 4.5678 -12.0 0.3456789 456.78
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
