Want this question answered?
Write a program that calculates the area of a triangle in QBASIC
a triangle then a square :)
you do this 10 print "0112358132134" use the whole of the thing
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
CLS INPUT "Enter degrees in Celsius:";c INPUT "Enter degrees in Fahrenheit:";f a=(c*1.8)+32 b=5/9(f-32) PRINT c;"degree Celsius=" a;"degree Fahrenheit" PRINT f;"degree Fahrenheit=" b;"degree Celsius" end
Write a program that calculates the area of a triangle in QBASIC
a triangle then a square :)
you do this 10 print "0112358132134" use the whole of the thing
Yes I can. I did it in QBasic about 15 years ago.
the extensions of qbasic are that, there are only 80 pixels to write in the qbasic
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
Variables don't have inputs. A variable is a named memory location where a value may be read or written. You write a variable by assigning a value to it. The value may be obtained from user-input.
dim a input a
I think it's <>
CLS INPUT "Enter degrees in Celsius:";c INPUT "Enter degrees in Fahrenheit:";f a=(c*1.8)+32 b=5/9(f-32) PRINT c;"degree Celsius=" a;"degree Fahrenheit" PRINT f;"degree Fahrenheit=" b;"degree Celsius" end
just full it up when its at the E
write a c program that takes a binary file as input and finds error check using different mechanisms.