Computer Science, asked by vampirevenem2690, 1 month ago

Write a C/C++ program to convert decimal number into indicated base (base 3, 4, 5,6,7,8,9,16)plz solve this Question ​

Answers

Answered by keerthanakrishna59
0

Explanation:

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.  To complete your preparation from learning a language to DS Algo and many more,  please refer Complete Interview Preparation Course.

In case you wish to attend live classes with experts, please refer DSA Live Classes for Working Professionals and Competitive Programming Live for Students.

Input number is given as string and output is an integer. Input: str = "1100", base = 2 Output: 12 Input: str = "11A", base = 16 Output: 282 Input: str = "123", base = 8 Output: 83

hope it helps you

mark as brainest

follow

Similar questions