Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
F

fmzl

@fmzl
About
Posts
11
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • generating random number
    F fmzl

    i just didnt get your previous message: I've read his posts and don't see a single impolite thing. Good luck with your approach - you'll need it. You might try reviewing your well worn copy of Dale Carnegie what do you mean?

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    ??????

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    can we please stop arguing about this downvoting? I recieved 100 of messages but only 2 of them are the answerws to my question. I ask a question and i recieve answers, the one that helps ME will get 5 and the one that doesn't will get 1. next time i will post my questions on msdn or somewhere else, because people here are really act like elementary school students and just looking for EXTRA MARKS. Mr.PravinSingh we are not here to give each other life lessons or advices, we are here to talk about COMPUTER PROGRAMMING, and I thought this argu was over but you like to continue it. and finally that last 2.5 lines dont make any sense to me because as i remember i just used "u" instead of "you" not any of the other words that you wrote there.

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    Downvoting is not insulting someone, its just a way to say that this is not the solution for my problem, I think CodeProject has these two buttons ("Good Answer" and "Bad Answer")just for saying that a solution is useful or not, nothing else. so dont get offended by these things, but when you say someone sounds impolite and dumb because he just didnt vote 5 to your answer is an insult or saying "you sound dumber because of using u instead of you" is impolite and im my point of view is counted as an insult. Anyway thanks to everyone who helped me on this problem, specially NickHighIQ. Thnx

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    Thank you very much

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    I meant if I do 100 iterations, 30 of these numbers will definitely be from group A, not more than or less than 30 exactly 30, which is actually option "b", but Im interested to know the solution for option "a", I think its useful for the program im working on. Thanks

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    as YOU wish, using "u" makes someone sounds dumb but just writing something as answer to a question without reading and understaing the question is not dumb, I dont know what is wrong YOU people, and as I remember I didnt beg anyone to give up on his/her time for my answering my question, its up YOU to answer it. and if it really bothers YOU that I dont vote 5 to a nonsense, YOU can remove my question from the forum, this a thing that YOU guys are very good at here, vote for removing someones article or ... .

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    he used the words impolite and dumb for me, i didnt start a fight, he could ask a me for more explanation, but as i said he just wrote his answer and didnt mention that he didnt understand my question properly, if anyone asks me for more explanation i will do it. bye

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    well, do u expect me to vote 5 for ur answer?? I think u r impolite and too much proud, Ive stated in my question that I want to use a Random object, I didnt ask u to suggest me an alternative, sorry plz first read the question carefully and if it still sounds nonsense to u, ask for more explanation, someone else did that and i explained. And as I read ur answer u didnt say anything about that I didnt explain properly, so we can think u understood the problem completely, and this was ur answer which cannot help me to solve this problem, anyway if it really makes u happy, ill give u 5. good luck.

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    Yes I want 30% of "n" iterations the generated number will be from group A, and so on.

    FMZL

    Algorithms tutorial question lounge

  • generating random number
    F fmzl

    Hi, Im writing a program which has a Random object, I have 3 groups of numbers: A = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} B = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19} C = {21, 22, 23, 24, 25, 26, 27, 28, 29, 30} I put the Random object in a "for" loop which will run for n times. How I can make the Random object to generate a number which is in group A for 30% of time, in group B for 60% of time, and in group C for 10% of time. So for example if loop runs 100 times, for 30 times the generated number must be a number that exist in group A and so on. How I can do that??? Thnx

    FMZL

    Algorithms tutorial question lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups