Machine Problem

Write a program that will ask user to give two numbers and then the  program will display the original and swap arrangement of the two numbers given by the user.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website, kindly contact me also at my email address also. Thank you.
My email address is and

My mobile number here in the Philippines is 09173084360.

Program Listing

<!-- index.htm
  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT
  Date     : July 23, 2021  Friday  10:26 PM
  Place    : Bacolod City, Negros Occidental
  Websites : and
  Email    :
  	  <title>Swapping of Two Numbers in AngularJS </title>
  	 <script type="text/javascript" src="angular.min.js"></script>
  	  	var myApp=angular.module("myModule",[]);
  	  	myApp.controller("Swapping_Values",function($scope) {
              $scope.after_swap="Swap Arrangement    : " 
             + $scope.a + " and " + $scope.b;

             var temp = $scope.a;
             $scope.a = $scope.b;
             $scope.b = temp;
             $scope.before_swap="Original Arrangement : " 
             + $scope.a + " and  " + $scope.b;

body {
	font-family: arial;
	font-size: 25px;
	font-weight: bold;
 <body ng-app="myModule" ng-controller="Swapping_Values">
 	 <h3>Swapping of Two Numbers in AngularJS </h3>
 	<table border="0">
 		 	Enter Your First Number
 	       <input type="number" ng-model="a"/>
 		 	Enter Your Second Number
 	       <input type="number" ng-model="b"/>
      	 <td colspan="10">
      	 	 <input type="button" ng-click="doSwap();"
      	 	 value="Swap Numbers"/>
       {{ before_swap }}
      {{ after_swap }}