Im using c language. It says theres a syntax error before on the second printf.
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
int distance;
int speed;
printf("Enter a speed:");
scanf("%d",&speed);
distance = (speed * 15)
printf("%d",distance);
;system("PAUSE");
return 0;
}
look at line 11. its missing a ; and system("pause") (which shouldnt be used (there are better ways to pause a program) has an extra
You forgot to place a semicolon after statement
distance = (speed * 15)