#include<stdio.h>int main(){int a,b,sum;int k=1; printf("输入2个整数:\n"); while(k) { scanf("%d%d",&a,&b); if(a>=0&&b>=0) { k=0; } else { printf("请重新输入:\n"); } } sum=a+b; printf("%d\n",sum%100); return 0; }