题解 | #牛牛的对齐#
牛牛的对齐
https://www.nowcoder.com/practice/a1c18a8b533045ebbbbd9c11f9e857ac
#include <stdio.h>
int main()
{
int n1 = 0;
int n2 = 0;
int n3 = 0;
scanf("%d %d %d", &n1, &n2, &n3);
printf("%d%8d%8d", n1, n2, n3);
return 0;
}
牛牛的对齐
https://www.nowcoder.com/practice/a1c18a8b533045ebbbbd9c11f9e857ac
#include <stdio.h>
int main()
{
int n1 = 0;
int n2 = 0;
int n3 = 0;
scanf("%d %d %d", &n1, &n2, &n3);
printf("%d%8d%8d", n1, n2, n3);
return 0;
}
相关推荐