View Code of Problem 1

#include <stdio.h>

void main()
{
	float a,b,c;
	printf ("请输入a:");
	scanf ("%f",&a);
	printf ("请输入b:");
	scanf ("%f",&b);
	c=a+b;
	printf ("a+b=%f\n",c);

}

Double click to view unformatted code.


Back to problem 1