Question: Use of C programming language coding i need full solution Lab1-4. Single Input Double Output In this problem, the user enters a single number. Your
Use of C programming language coding i need full solution
Lab1-4. Single Input Double Output In this problem, the user enters a single number. Your program will return two numbers with different precision. Deadline: 20 Jan, 2023 (Fri) Input A single line containing a number N Output A single line containing two numbers. Their values are N with 1 decimal place, and N with 5 decimal places. Sample Input 1 Sample Input 2 0.0046737 Hint We may write the pseudocode like this: 1.Declare a double-type floating-point number num 2.Ask for a single value of num from user (assume valid) 3.Print out the num of two different versions of precision
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
