Question
Hello Teacher, This is one of my C programming problem I confusing: ------------------------------------------- And this is my code: #include int main() { int number_of_sets =
Hello Teacher, This is one of my C programming problem I confusing:
-------------------------------------------
And this is my code:
#include int main() { int number_of_sets = 0; int number_of_sets_processing = 0; int each_number_apperence_times[13] = {0}; int number_checking_now = 0; char number_of_cards[5] = {0}; char temporary; int now_input_nth_card_numbers = 0; int now_checking_nth_card_numbers = 0; scanf("%d",&number_of_sets); number_of_sets_processing ++; while(number_of_sets_processing
Uhh... I don't even know what's going on for it. It seems OK when ONLY NUMBERS are included in cards. But when it contains letters (like: A, J, Q, K...), the programs are in trouble.
Thank you very much! I've been stucked for several days......
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started