Microsoft Small Basic

Program Listing:
Embed this in your website
TextWindow.Write("Primul numar: ")
numar1=TextWindow.ReadNumber()
TextWindow.Write("Al doilea numar: ")
numar2=TextWindow.ReadNumber()
TextWindow.WriteLine("Suma patratelor lor este: "+(numar1*numar1+numar2*numar2))
Copyright (c) Microsoft Corporation. All rights reserved.