#include <stdio.h>
#include <stdlib.h>
int main()
{
char weight[4];
int w;
printf("Enter your weight:");
gets_s(weight);
w=atoi(weight);
printf("Here is what you weigh now: %d/n",w);
w=w+1;
printf("Your weight after the potatoes: %d/n",w);
w=w+1;
printf("Here you are after the mutton: %d/n",w);
w=w+8;
printf("And your weight after dessert: %d pounds!/n",w);
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/266684.html