#include <stdio.h>int main(void){ int vx,vy; vx=57; vy=21; puts("请输入两个整数:"); printf("整数vx:");scanf("%d",&vx); printf("整数vy:");scanf("%d",&vy); printf("vx+vy=%d\n",vx+vy); printf("vx-vy=%d\n",vx-vy); printf("vx*vy=%d\n",vx*vy); printf("vx%%vy=%d\n",vx%vy); return 0;}运行成功请输入两个整数:整数vx:整数vy:vx+vy=78vx-vy=36vx*vy=1197vx%vy=15请问一下,scanf函数的作用是隐藏vx,vy的值吗???谢谢啦
- 3 回答
- 0 关注
- 1436 浏览
添加回答
举报
0/150
提交
取消