#include <stdio.h>
int main(void){
int k = 678;//
// Display formats as heading then display the values
printf("%%d %%o %%x %%X/n");
printf("%d %o %x %X/n", k, k, k, k );
printf("/n|%%8d |%%-8d |%%+8d |%%08d |%%-+8d |/n");
printf("|%8d |%-8d |%+8d |%08d |%-+8d |/n", k, k, k, k, k );
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266445.html