write answer properly
dont spam....!
Answers
a.Store your city name in a variable
To begin, write down everything from the program below ("PRINT "Hello World") into a text editor or into the QBasic IDE (Integrated Development Interface) itself and save it as "IHELLO. BAS". Next open the file in QBasic (unless you used QBasic IDE in which case it is already open) and press F5.
A statement (for the QBASIC) is a set of instructions written by using keywords or commands of QBASIC. Every programming language uses keywords as a statement with certain syntax. The keywords have specific meaning in the QBASIC programming.
QBasic 1.1 is included with MS-DOS 6. x, and, without EDIT, in Windows 95, Windows 98 and Windows Me. Starting with Windows 2000, Microsoft no longer includes QBasic with their operating systems, but still makes it available for use on newer versions of Windows.
b.Store your age in a variable
The prompt is asking for a variable that will return an integer of your age. The variable you have created is an object. In order to get your age from the object, you would have to use name.age instead of simply using name.
Instead of creating an object, just store an integer value into a variable: var age = 50
c.Display your name and age with space
Input " Enter the name ";Name$
Input " Enter the city";City$
Input " Enter the country":Country$
Input " Enter the age";Age
Print " The name is ";Name$
Print " The city is ";City$
Print " The country is ";Country$
Print " The age is ";Age
In the above figure,
4 input statement is used to enter the data from keyboard in the variable Name$, City$, Country and Age.
4 print statement is used to print the variable Name$, City$, Country$, And Age$.
d.Accept your computer marks with message
enqueue basic statement is used to assign a value to a variable the print command is used to display any messenger value on the screen the input statement in q basic is used to accept the data item from the user.
e. Display the value of sum of 30 and 23
(a) (30) + (-23) + (-63) + 55
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55= 30 + 55 - 23 - 63
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55= 30 + 55 - 23 - 63= 85 - 86
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55= 30 + 55 - 23 - 63= 85 - 86= -1
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55= 30 + 55 - 23 - 63= 85 - 86= -1(b) (-9) + 4 + (-6) + 3
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55= 30 + 55 - 23 - 63= 85 - 86= -1(b) (-9) + 4 + (-6) + 3= -9 +4 - 6+3
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55= 30 + 55 - 23 - 63= 85 - 86= -1(b) (-9) + 4 + (-6) + 3= -9 +4 - 6+3= -9 - 6 + 4 + 3
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55= 30 + 55 - 23 - 63= 85 - 86= -1(b) (-9) + 4 + (-6) + 3= -9 +4 - 6+3= -9 - 6 + 4 + 3= -15 + 7
(a) (30) + (-23) + (-63) + 55= 30 - 23 - 63 +55= 30 + 55 - 23 - 63= 85 - 86= -1(b) (-9) + 4 + (-6) + 3= -9 +4 - 6+3= -9 - 6 + 4 + 3= -15 + 7= -8
Answer :
The definition of dishonest is a person who cheats or lies. An example of dishonest is a man who has a wife and a mistress on the side; a dishonest man. Disposed to lie, cheat, defraud, or deceive.