用c语言编写函数,将输入的十进制数转换成十六进制数并输出
用c语言编写函数,将输入的十进制数转换成十六进制数并输出
日期:2018-03-06 13:44:05 人气:4
//#include "stdafx.h"//If the vc++6.0, with this line.#include "stdio.h"int main(void){ unsigned n,i,k; printf("Please enter a positive integer...\nn="); scanf("%d",&n); printf("