Language: C
Write a function called decimal_separation that takes the decimal number entered from the keyboard as the input argumentand obtains the sign (+ or -) of the number, the whole part, the decimal part as the output argument. Write the function youwrote together with the main() function that tests it.Sample Run:Enter the decimal number to split: -35.187Analysis of the number -35.1870:Sign of the number:-The full part of the number: 35The decimal part of the number: 0.1870
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here