Homework for me

i will show you very soon what i need to do hum i'm not a pro ( sorry for the english i'm french)
12 Replies
alluring_cheetah_45401
here : Write a program that randomly draws a single card from a deck of cards. A deck of cards consists of 52 cards, with: Suits: Hearts, Diamonds, Spades, and Clubs Ranks: Ace, 2 through 10, Jack, Queen, and King Then print the result in the following format: The drawn card is the Ace of Spades Or The drawn card is the 8 of Hearts Or The drawn card is the Queen of Diamonds and i see this : 02 Variables 03 Calculations 04 Conditional statements 05 Loops 06 One-dimensional arrays (vectors)
Angius
Angius4w ago
What's the problem here?
alluring_cheetah_45401
at the really right now none but it will probably have one soon
Buddy
Buddy4w ago
$details
MODiX
MODiX4w ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, what you expect the result to be, what .NET version you are using and what platform/environment (if any) are relevant to your question. Upload code here https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code! (see $code for more information on how to paste your code)
Buddy
Buddy4w ago
This is not ChatGPT, we won't write the program for you if that's what you wanted. nor do we condone cheating
alluring_cheetah_45401
Did i start good?
No description
Buddy
Buddy4w ago
Did you?
alluring_cheetah_45401
i don't know if i can put a int because i write string oops sorry i forogt something
Buddy
Buddy4w ago
I suggest you find out what a class and an enum is. https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/tutorials/classes If you're entirely new to C# I recommend checking this out $helloworld
alluring_cheetah_45401
it's because i start my class of programming but i'm a bit late (but it's still the beginning )
Want results from more Discord servers?
Add your server