0
Pls how can I write a c++ program for base conversion containing the following description
Accept a base as an integer from keyboard. Declare an array that is big enough to accommodate 32-34 bit integer value. Incorporate the above code into your program to run. After the first four loop add another for loop to display the converted integer. Thank you very much am really grateful for your response
14 Réponses
+ 2
Martin Taylor nice I learned something new today🙃🙂👍
+ 1
Where is your attempt??
+ 1
Do you know how to convert base of a number mathematicaly ?
+ 1
Yes
+ 1
Then why don't you do the same in C++?
Just try it, I am sure you will succeed
+ 1
Ok, if you want the code only then here you go:-
https://code.sololearn.com/cWA0brqhbDO7/?ref=app
+ 1
Yes this code converts the base of any number from decimal to the required base.
Just read the code for more information. Maybe it will help you
0
Don't know how to go about it
0
Like how will I write d code is the problem am not good at computer and I want to know because I need to pass it in my up coming exam pls show me the format
0
Pls show me the format then you can ask me questions to c if I get it plsss I really need to know it
0
Pls don't b offended is dat d correct answer to my question plss
0
I run d program with an input of 0 and it gives me an output containing 2,8... Is dat all