Skip to main content

How To Make Notepad Tell You In What Year You Will Be 50

First open Notepad. Then type this in:

WScript.Echo “Hello!”
Set WshShell = WScript.CreateObject(“WScript.Shell”)
birthdate = InputBox(“the year you were born.”)
newage = the year you were born + 50
WshShell.Popup “In ” & newage & ” you’ll be 50.”

then save as years.vbs then click the icon and watch
_________________________

Comments

Popular posts from this blog

What is SQL ?

SQL (Structured Query Language) is a standardized programming language used for managing relational databases and performing various operations on the data in them. Initially created in the 1970s, SQL is regularly used by database administrators, as well as by developers writing data integration scripts and data analysts looking to set up and run analytical queries. The uses of SQL include modifying database table and index structures; adding, updating and deleting rows of data; and retrieving subsets of information from within a database for transaction processing and analytics applications.  Queries and other SQL operations take the form of commands written as statements -- commonly used SQL statements include select, add, insert, update, delete, create, alter and truncate. _________________________