Question: C language only 4. Read a floating point number from user and check if it has any fractional part (e.g. 4.5,6.9,) or not (e.g. 4,5,.
C language only
4. Read a floating point number from user and check if it has any fractional part (e.g. 4.5,6.9,) or not (e.g. 4,5,. If it has a fractional part then print "Not an integer", otherwise print "integer". 5. Write a C program that reads the radius r of a circle and the side a of a square from user and then checks if that square can be placed inside that circle or not. Hint: Use Pythagorean theorem
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
