answersLogoWhite

0


Best Answer

#include
#include

using std::cout;
using std::cin;
using std::endl;
using std::string;

int main()
{
string myNumber = "";
cout << endl << "Enter a number: ";
cin >> myNumber;

cout << endl << "You number was saved as string: "" << myNumber << """ << endl;

system("PAUSE");
return 0;
}

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program that converts a decimal number to crossponding string .Decimal Number is accepted as command line input at the time of execution?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What operator makes converts 00110011 into 11001100?

convert 1101 to decimal


What electronic device converts decimal numbers to binary numbers?

a gps.


Please convert 340 Pounds into Pence?

340 decimal British Pounds converts to 34,000 decimal British Pence. 340 predecimal British Pounds converts to 81,600 predecimal British Pence.


The decimal value 151 converts to what binary?

1001 0111 base 2


Who is internet address is 1725614230?

Decimal number 1725614230 converts to ip address 102.218.200.150


Is -11.16 a mixed number?

No, it is a decimal that converts to a mixed number, which is -11 4/25


What is 57 fourthys as a decimal?

57 'fourths' converts to 14 and 1/4 or 14.25


What is 11100010 equal to?

The binary number 11100010 converts to 226 in Decimal and E2 in hex.


Design an algorithm that accepts an input a decimal number and converts it into binary coded decimal representation also draw its flow chart?

192.168.1.1


How do you convert minutes and seconds into a decimal?

You have to divide it by ten and add the decimal then it converts in to decimals which shall give u the correct answer for work Hope It Helped


How are computers able to take words entered on a keyboard and translate them into digital information?

First it needs an encoder that converts information from what we call decimal form to binary, and then in order for the information to appear on the screen, you need a decoder that takes binary and converts it back to decimal.


What is the accepted value of pi taken out to three decimal places?

pi = 3.142 rounded to three decimal places (the thousandths)