A program that uses the IO Library
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								io.library
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								io.library
									
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										12
									
								
								io.library.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								io.library.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					#include <iostream>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					int main()
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  std::cout << "Enter two numbers:" << std::endl;
 | 
				
			||||||
 | 
					  int v1 = 0, v2 = 0;
 | 
				
			||||||
 | 
					  std::cin >> v1 >> v2;
 | 
				
			||||||
 | 
					  std::cout << "The sum of " << v1 << " and " << v2
 | 
				
			||||||
 | 
					            << " is " << v1 + v2 << std::endl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user