Brother C, thank you for the reply , but, I wasn't specific enough in what i need - example:
first number might be entered as 345 and second number may be 9864, the product would be 3403080 and i need it to print out 3,403,080
for anyone else that may want to help - this is for visual c++...
Question: Write a program that reads 2 integers and prints out their product in a format using commas, we have to use command user interface(CUI). Thank you very much for your help!! Here is what I have:
#include <iostream.h>
void main()
{
long int a; //first integer
long int b ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.