Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

image text in transcribed

-------------------------------------------

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

image text in transcribed

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions