I've run into a problem on credit. Whenever I run this
#include <stdio.h>
#include <cs50.h>
int main(void)
{
int credit;
//Ask user for input of cc number
printf("What is your creditcard number?");
credit = get_long_long();
//See if number is long enough
if ( int credit > 100000000000 && int credit < 10000000000000000 ) {
printf("Hallelujah\n");
}
else {
printf("Nope\n");
}
}
block of code I get the error:
creditcard.c:14:10: error: expected expression
if ( int credit > 100000000000 && int credit < 10000000000000000 ) {
^
1 error generated.
make: *** [creditcard] Error 1
I checked other questions discussing the same error message, none seem to help me with mine though.