Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

I cannot get this program to work in Freebasic?

Dim As Integer height = 0

Dim As Integer weight = 0

Dim As Integer total = weight + height

Input "How much do you weight? ", weight

Input "How tall are you? ", height

Print total

Sleep 10000

Pretty simple program, but I get "0" as a result everytime not matter what numbers I put in.

There are no answers yet.
Be the first to answer this question.