Question: Write a program in C++ that reads a float number from the input and prints the integer part of this number on the screen. Sample
Write a program in C++ that reads a float number from the input and prints the integer part of this number on the screen. Sample run: Input a number: 123.87 The integer part of the number is 123
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
