Computer Science, asked by TbiaSamishta, 11 months ago

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 Legionslayer2122002
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 Secondman
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