We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,055 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Array 1D

Write a C program that roll a single six-sided die 10 times. Produce a random number from 1 through 6 as
shown in the following frequency distribution. (Hint: use an array of counter)

2
Contributors
2
Replies
4 Hours
Discussion Span
7 Months Ago
Last Updated
3
Views
kayceedude
Newbie Poster
16 posts since Oct 2012
Reputation Points: -1
Solved Threads: 0
Skill Endorsements: 0

And have you tried to solve this or you just want to be handed the answer? No one will do your homework because:
1. Probably they can spend their time doing something else.
2. THIS WILL NOT HELP YOU AT ALL.
Programmers don't just appear after graduating a highschool or a university, but they do form in that period of time, learning and doing programming. If you want just the answer, you'll never learn anything.
I suggest you take this problem, analyze it on paper, than write a code that suits it. If then you have problems, and come with the part of the code that is giving you headaches, maybe we can help you, but first we need to see that you've tried.
Best luck to solving your problem.
Links: rand

Lucaci Andrew
Practically a Master Poster
649 posts since Jan 2012
Reputation Points: 91
Solved Threads: 91
Skill Endorsements: 12

Thanks for your reply. I already have it solved in class but I think it would be nice to get another solution entirely different from what I had in class.

Thanks also for the advise, I really appreciate!

kayceedude
Newbie Poster
16 posts since Oct 2012
Reputation Points: -1
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0581 seconds using 2.67MB