Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - C language is wrong. How to change the following procedures?
C language is wrong. How to change the following procedures?
int main()

{

int datal,date2,data3

Prinf ("Please enter 3 numbers:");

//scanf ("%f% f", & data 1. Data 2 and. Data 3);

Scanf("%d%d%d ",& data 1. Data 2 and. Data 3);

//'%f' is changed to' %d', and' %d' is used for the input of int and' %f' is used for the input of float type.

data 3 = data 1 * data 2;

printf(" data 3 = % d " data 3);

Returns 0;

}