Write the declaration the statement that will declare the following variables as indicated?
up, down as integers
first, last as precision floating point
C as a character
Answers
Answered by
0
If the programming language is C++ then
....
int up, down ;
float first, last ;
string C;
......
If the programming operator is Visual Basic then
......
Dim up, down As Integer
Dim first, last As Floating point
Dim C As String
....
Hope it helps you
Answered by
0
"The variable declarations for the given question are
int up, down;
float first, last;
char C;
The variables of different data types can be used to hold different types of values in a program.
For example, in the above code, up and down can hold integer and whole number values, first and last can hold real integer values, and C can hold character values."
Similar questions
Math,
6 months ago
Physics,
6 months ago
Chemistry,
6 months ago
Computer Science,
11 months ago
English,
11 months ago