题目
代码实现
#include<iostream>
#include<cstdio>
#include<cstdlib>
using namespace std;
int main()
{
int m1,m2,m3,m4;
cin>>m1>>m2>>m3>>m4;
int a=1,b=2,c=3,d='a',e='b',f='c';
printf("%-8d%-8d%-8d%-8d\n",m1,m2,m3,m4);
printf("%-8d%-8d%-8d%-8d\n",m4,m3,m2,m1);
printf("%-8d%-8d%-8d%-8d\n",m2,m1,m4,m3);
printf("'\n");
printf("\"\n");
printf("\\\n");
printf("I say:\"I am 'best'.\"\n");
printf("%d %d %d %d %d %d\n",a,b,c,d,e,f);
printf("%o %o %o %o %o %o\n",a,b,c,d,e,f);
printf("%x %x %x %x %x %x\n",a,b,c,d,e,f);
return 0;
}
结果