Back to Browse

Practical@Lesson 2: How to convert data type in C++

256 views
Jun 21, 2020
8:31

How to install Visual Studio link: https://youtu.be/ThmtfSdKuGo Lesson 2: Basic elements of C++ https://www.youtube.com/watch?v=GqBCO9VXVJ8 Question: Write a C++ program that reads a floating-point number (of type double) from the user. The program then separates the number into its integral part and fractional part. For example, if the input is 59.68: ====================================== Enter a floating-point number : 59.68 Its integral part : 59 Its fractional part : 68 ======================================

Download

0 formats

No download links available.

Practical@Lesson 2: How to convert data type in C++ | NatokHD