Computer Science, asked by kinjalpatani15, 5 months ago

write statements in Java to declare variables x1 and x2 and store value 33.77 and 's' in it​

Answers

Answered by s19317aayush
0

Answer:

Chapter 2 Variables and operators

This chapter describes how to write statements using variables, which store values like numbers and words, and operators, which are symbols that perform a computation. We also explain three kinds of programming errors and offer additional debugging advice.

2.1 Declaring variables

One of the most powerful features of a programming language is the ability to define and manipulate variables. A variable is a named location that stores a value. Values may be numbers, text, images, sounds, and other types of data. To store a value, you first have to declare a variable.

Explanation:

I hope this is helpful you guys

Similar questions