--%>

Write a program to print out ten random numbers

Write a program to print out ten random numbers from the following sets:

a) {0, 1, 2, 3, 4, 5, ...99, 100}

b) {1, 2, 3, 4, 5, 6}

c) (10, 20, 30, 40, 50,...990, 1000}

d) {-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5}

e) {1.5, 2.0, 2.5, 3.0, 3.5}

 

 

   Related Questions in Programming Languages

  • Q : Explain the steps to design product If

    If not in production, how far did you obey the design and why did not you notice it in production?

  • Q : What is an Arithmetic expression

    Expression: It is a combination of operands and operators which generates a resultant value. Expressions contain a resulting type that affects the context in which they might be employed.

  • Q : Overriding a base class method in

    Explain the way to overriding a base class method in Visual Studio .NET and in Visual Studio 2005.

  • Q : Define the term Instance Define the

    Define the term Instance: It is a synonym for object. The objects of a class are instantiated whenever a class constructor is invoked through the new operator.

  • Q : Maintaining audit trail of product

    The accuracy of product table data is crucial and the Brwebean’s. owner prefers to have an audit file which contains information regarding all DML activity on the BB_PRODUCT table. This information must point out the user id of the user running a DML statement,

  • Q : Steps comprised in designing programming

    Write down some of the steps comprised in designing programming?

  • Q : Define the term Heterogeneous collection

    Define the term Heterogeneous collection: It is a collection of objects with distinct dynamic types

  • Q : What is Boundary error Boundary error :

    Boundary error: The errors which arise from programming mistakes prepared at the edges of a problem- indexing off the edge of an array, commencing with no items of data, loop termination and so forth. Boundary errors are a very general type of logical

  • Q : Explain a quality and metrics reporting

    What opinion would you provide to someone who asked you where to begin to introduce to their company a quality and metrics reporting program?

  • Q : Reducing state space of code What is

    What is the way to reduce the state space of the code during model checking?