Need HELP with Random integer steps 
	 
	
		| Author | 
		Message | 
	 
		 
		5c0r910n
 
 
 
    
		 | 
		
		
			
				  Posted: Wed Dec 07, 2016 3:10 pm    Post subject: Need HELP with Random integer steps  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				What is it you are trying to achieve?
 
I'm trying to create a program that allow the user to specify two numbers and the program will create a random integer within those integers. 
 
 
 
What is the problem you are having?
 
Now I have achieved that, my problem is that I also need to allow the user to specify a integer step for the random int.
 
 
 
Describe what you have tried to solve this problem
 
I don't know where to start though...
 
 
 
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
 
This is all I have right now:
 
 
 
 
	  | Turing: | 	 		  
colorback(black)
color(brightgreen)
cls
var a,b,step: int
var c: real
put "This program will prompt you to enter a value for a,b and step. Then the program will generate a random value between a and b, stepping using intevals of step"
put"Please enter the value for a now"
get a
 cls
put"Please enter the value for b now"
get b
 cls
put "Please enter the step value now"
get step
 cls
c:=Rand.Int (a,b )
put c
   | 	  
 
 
Please specify what version of Turing you are using
 
I am currently using turing 4.1 | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
		 
		Sponsor Sponsor 
		 
  
		 | 
		
 | 
	 
	 
		  | 
	 
				 
		5c0r910n
 
 
 
    
		 | 
		
		
			
				  Posted: Thu Jan 19, 2017 3:36 pm    Post subject: RE:Need HELP with Random integer steps  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				| Nevermind I solved this one, thanks anyways | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		 | 
	 
 
	
	
	 
	
	 |