answersLogoWhite

0


Best Answer

In DOS, the following line will generate a random number between 1 and 100. To get 0-100, remove the plus one at the end.

set /a num=%random% %%100 +1

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you make cmd generate a random number between two variables that can be changed at anytime?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the variables that are not changed in an experiment?

The control variables.


What is the difference between the independent variables and the dependent variables in the experiment?

An independent variable can be changed itself and does not vary if other items around it are changed. A dependant variable changes it value in response to changes in other items.


Differentiate between C Constants and C variables?

A constant value cannot be changed once set. A variable can be changed whenever you want.


What is constant variable in c?

Constant variables refers to those variables whose values cannot be changed. These variables should be initialized along with their declaration. Attempt to change the value of a constant variable will generate compile error. The syntax for declaring a constant variable is:const data-type variableName = value;


Can variables be changed?

A static variable is one which is not stored on the stack but in the memory of the program. Static variables can be changed.


What variables change?

a changed variable is something that you have changed


Can a correlated study determine when there is lack of a relationship between two variables?

Sure. If you can observe that when variable A changed, variable B didn't change, and this happens repeatedly, that is a good indication that there is no relationship between those variables.


What can be changed in a scientific experiment?

In scientific experiments, the variables may be changed.


What are controlled independent and dependent variables?

control variables: the things that are not changing.Independent variables: the things that you change.Dependent variables: the things that are changed due to the independent variable


What factor is not changed in a experiment?

The controlled variables.


What are the controlled variables and changed variables when soybeans absorb water?

The controlled variable is the type of soybean, and the changed variable is the type of water that the soybean is absorbing.


Can independent variables be changed?

Yes. In fact, in multiple regression, that is often part of the analysis. You can add or remove independent variables to the model so as to get the best fit between what values are observed for the dependent variable and what the model predicts for the given set of independent variables.