Make a C++ program that will ask for integer value and assign that integer value to variable A. Declare another floating point data type variable and name it as B with a constant value of 95.4567. Display the value of B variable in integer format and another display of B value in four digits only.

Please help meeee

Can you show us the code you have so far, so that we can see how you are doing?

If you sincerely wish for help with your then submitteed code ...

-> REMEMBER <-

to select all your submitted code and then press the tab key to indent it all ... one tab ... (this will PESERVE your code indentation when it is shown in the DANI browser.)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.