照书上写的代吗,编译通不过。什么原因啊。
#include<stdio.h>int main(void)
{
float weight;
float value;
printf("Are you worth your weight in rhodium?\n");
Printf("Let's check it out.\n");
printf("Please enter your weight in pounds:");
scanf("%f",&weight);
value=770*weight*14.5833;
printf("Your weight in rhodium is worth $%.2f.\n",value);
printf("You are easily worth that! If rhodium prices drop,\n");
printf("eat more to maintain your value.\n");
getch();
return 0;
}
[Linker error] undefined reference to `Printf'
ld returned 1 exit status
这是什么原因啊。