Showing posts with label Sum of Three Numbers Using TypeScript. Show all posts
Showing posts with label Sum of Three Numbers Using TypeScript. Show all posts

Saturday, July 6, 2019

Sum of Three Numbers Using TypeScript

A simple program that I wrote using TypeScript to sum the values of the three numbers. The code is very simple and easy to understand.

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 in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com



Sample Program Output

Program Listing

// add.ts
// Author : Jake R. Pomperada
// Date   : July 6, 2019
// Language : Node.js and TypeScript

var num1:number = 5
var num2:number = 4
var num3:number = 1
var  sum:number =0

sum = (num1 + num2 + num3)

console.log("\n")
console.log("\tSum of Three Numbers Using TypeScript")
console.log("\n")
console.log("\tCreated By: Mr. Jake R. Pomperada")
console.log("\n")
console.log("\tValue No. 1 : " + num1)
console.log("\tValue No. 2 : " + num2)
console.log("\tValue No. 3 : " + num3)
console.log("\n")
console.log("\tThe total sum of three numbers is  "+sum);