All Questions
5 questions
0
votes
1
answer
30
views
Week 1 Credit, two visa cards #s not working
I've been stumped on Credit for a few weeks, I've learned a LOT in writing my code and I have fixed many errors. My code now passes all the checks except for these two errors and I cannot figure out ...
1
vote
1
answer
333
views
problem with credit with this numbers (369421438430814 & 5673598276138003)
I just finished solving the credit problem and regularly used check50 to see my results, and then this happened.
check50 sees that these numbers :
369421438430814
5673598276138003
are invalid, even ...
0
votes
1
answer
39
views
Week 1 Credit; Not Creating Variable
I'm starting the week 1 credit problem, however, when trying to set together every second digit it simply does not print. Could you help me identify where I went wrong? Thanks!
#include <stdio.h>...
0
votes
1
answer
166
views
Credit.c works, but not completely?
So I finished credit.c today and was trying out different numbers from the paypal website the course provided and got some unexpected results and don't know what to do with it. When I type in valid ...
0
votes
1
answer
586
views
Can't use get_long_long();
So somehow I cant use the get_long_long(); function. It lets me declare the variable, but I cant get any user input for it.
Here's my code:
#include <stdio.h>
#include <cs50.h>
#include &...