In programming, what are variables used for?

What will be an ideal response?


A variable represents a numeric or string value.For example, you can solve x + y = z if you know two of the variable values. In programming, you can declare variables at the beginning of a program so that calculations can be carried out without user intervention. A variable might be defined as a character or characters, such as the letters of the alphabet, or it can be assigned a numeric value, as in the expression int x = 1.

Computer Science & Information Technology

You might also like to view...

Common mobile user agents are Safari and Chrome.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

When troubleshooting wireless issues, what statement is accurate?

a. A WPA key can be used to associate with a WEP configured access point. b. Access points that use overlapping channels can cause interference with each other if they are too close. c. Simultaneous wired and wireless network connections do not affect the ability to communicate on the network. d. Access point power levels should always be configured to output as much power as possible.

Computer Science & Information Technology

SSL/TLS provides security ________.

between the sender and his or her e-mail server all the way between the sender and the receiver Both between the sender and his or her e-mail server and all the way between the sender and the receiver Neither between the sender and his or her e-mail server nor all the way between the sender and the receiver

Computer Science & Information Technology

Explain the difference between inferential statistics and descriptive statistics.

What will be an ideal response?

Computer Science & Information Technology