1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

program

Discussion in 'C++' started by lainho, Oct 4, 2010.

  1. lainho

    lainho New Member

    Joined:
    Oct 4, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I'm currently in a data structure class and i have little programing experience. The assignment is


    A. In this part, you are supposed to design an integer random number generator that would produce random numbers between 10 and 99 (both inclusive). Design schemes to evaluate its performance as a random number generator. Comment on the output quality of your generator.

    B. Consider the two dimensional array shown below. Write a program that would read in the array A and evaluate each of its magic square property using appropriate function calls

    A=
    11 24 7 20 3
    4 12 25 8 16
    17 5 13 21 9
    10 18 1 14 22
    23 6 19 2 15


    Im currently working on part A but i was only able to generate the random numbers
     

Share This Page