theme changed
This commit is contained in:
		
							
								
								
									
										17
									
								
								labs/lab7/Igra/IgralnayaKost.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								labs/lab7/Igra/IgralnayaKost.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| using System; | ||||
|  | ||||
| class IgralnayaKost  | ||||
| { | ||||
|     Random r; | ||||
|  | ||||
|     public IgralnayaKost() | ||||
|     { | ||||
|         r = new Random(); | ||||
|     } | ||||
|  | ||||
|     public int random() | ||||
|     { | ||||
|         int res = r.Next(6) + 1; | ||||
|         return res; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik