// a.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int main()
{
int number,received,sold,count;
float Iventory,Newbalance;
count=1;
while(count<=3);
{
printf("Type in Bodentifok identification number,Iventory balance at the beginning of the month,Number of copies during the month,Number of copies sold during the month:);
scanf("%d%f%d%d",&number,&Iventory,&received,&sold);
Newbalance=Iventory+received-sold;
printf("Book identification number is%d,New Balance is%d",number,Newbalance);
count++;
}
return 0;
}
C:\Program Files\Microsoft Visual Studio\MyProjects\a\a.cpp(14) : error C2001: newline in constant
C:\Program Files\Microsoft Visual Studio\MyProjects\a\a.cpp(15) : error C2146: syntax error : missing ')' before identifier 'scanf'
帮我看看该怎么办