Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am trying to create and test a function in C Programming to deal a card with a MyRand() function and use another source file

I am trying to create and test a function in C Programming to deal a card with a MyRand() function and use another source file to call it. So far I got the bottom portion but am lost at what to do or write it.

int MyDealCard (int *cardNumber, int *cardSuit, int verbose) { *cardNumber= MyRand()%4 ; }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Students also viewed these Databases questions

Question

Compare and contrast four types of menus.

Answered: 1 week ago

Question

1. What is Ebola ? 2.Heart is a muscle? 3. Artificial lighting?

Answered: 1 week ago