1. For narrowing the scope of this problem, consider M as 16 and N as 2 at the very beginning.
2. String manipulation should be adopted in this problem.
3. To make your program more structural, user-defined functions should be used as the body part.
#include %26lt;stdio.h%26gt;
#include %26lt;stdlib.h%26gt;
#define LENGTH 20
void baseM_to_base10(void)
{
}
void base10_to_baseN(void)
{
}
main()
{
int m, n;
char num[LENGTH], result[LENGTH];
printf("Base Conversion\n");
printf("---------------\n");
printf("Please enter an inputted number: ");
scanf("%s",num);
printf("Base M (2 to 36): ");
scanf("%d",%26amp;m);
printf("Base N (2 to 36): ");
scanf("%d",%26amp;n);
system("PAUSE");
}
please help me to wirte is or teach how to do it
thank you so much
Base Conversion of a C. programming?
Then this is your way to get the proper answer.
http://www.rentacoder.com/RentACoder/Sof...
Creative Professionals
song downloads
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment