mirror of
				https://github.com/notepad-plus-plus/notepad-plus-plus.git
				synced 2025-10-31 11:34:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			514 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			514 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Module Program
 | |
|     Public num1 As Integer
 | |
|     Public num2 As Integer
 | |
|     Public answer As Integer
 | |
|     Sub Main(args As String())
 | |
|         Console.Write("Type a number and press Enter")
 | |
|         num1 = Console.ReadLine()
 | |
|         Console.Write("Type another number to add to it and press Enter")
 | |
|         num2 = Console.ReadLine()
 | |
|         answer = num1 + num2
 | |
|         Console.WriteLine("The answer is " & answer)
 | |
|         Console.Write("Press any key to continue...")
 | |
|         Console.ReadKey(True)
 | |
|     End Sub
 | |
| End Module |