How to stop the program and enter the value of the variable from the 
keyboard (by user)?
in other words:
How to choose variants of the program with the keyboard?

for example:

a=zeros(10);
for i=1:10
x=rand(1);y=rand(1)
if x[].>y[] a[i]=x[]
else a[i]=SOMTHIG FROM KEYBOARD (USER DECISION)
end

Paul

Reply via email to