1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ad libitum [116K]
3 years ago
5

Write assignment statements that perform thefollowing operations with the variables a, b, and c.

Computers and Technology
1 answer:
Anna007 [38]3 years ago
8 0

Answer:

An assignment statement's overall syntax is-

                   variable = expression ;

Where the variable must be declared; the variable may be a simple name, or an indexed location in an array, or an object's field (instance variable) or a class static field; and the expression must result in a value that is compatible with the variable type. In other words, it must be feasible to cast the expression to the variable type.

Examples: int i =4;

a) b=(a+2);

(a+2) is the expression for adding 2 to a, whereas b equal to the result of (a+2).

b) a=b*4;

(b*4) is the expression for multiples b times 4,whereas a equal to the result of (b*4)

c) b=(a/3.14)

(a/3.14) is the expression for divides a by 3.14,whereas b equal to the result of (a/3.14)

d )a=(b-8)

(b-8) is the expression for Subtracts 8 from b,whereas a equal to the result of (b-8)

You might be interested in
This is an example of what type of formula?
slamgirl [31]

Answer:

Average

Explanation:

The term 'average' refers to the 'middle' or 'central' point. When used in mathematics, the term refers to a number that is a typical representation of a group of numbers (or data set). Averages can be calculated in different ways - this page covers the mean, median and mode.

3 0
2 years ago
Which of the following applies to patents?
babymother [125]
They protect the rights of the property owner. I watch a lot of shark tank and I believe that’s right
3 0
2 years ago
After establishing a long term goal and understanding what it entails, the best next step is
Aleks [24]

Answer:

plan numerous intermediate short-term goals.

Explanation:

8 0
3 years ago
Intentional breeding for certain traits is known as
Arlecino [84]
<span>Artificial selection :)</span>
7 0
3 years ago
Read 2 more answers
Use HTML to create a web page
Fynjy0 [20]

Answer:

Creating web page using html

<html>

<head>

<title>my first web page </title>  

</head>

<body>

<h1 align=”center”>My first web page </h1>

<p align=”center”>hello brainly </p>

<body>

</html>

Explanation:

Following are the steps to create any web page in html

Step 1:open notepad or nodepad++ .

Step 2:creating a web page by using html structure.

Step 3: save the file with .html extension.

Step 4:Run on the browser .

Following are the description of <html> structure

<html> :This tag is the root element,which always contains one <head>tag and one <body> tag .

<head>:It contains machine-readable information I.e metadata of the   document .

 it contains many tags like <script>,<link>,<title>,<style> etc.

<title>:The <title> tag is inside the <head> tag the content <title>tag is displayed as the page title in the tab of the browser .

<body>:The <body> tag act as container it means it holds the  content of the document. All the content like heading, paragraph are contained by <body> tag.It contains may tags like <p>,<a>,<h2> etc.

3 0
3 years ago
Other questions:
  • Financial goals are helpful because they
    7·1 answer
  • Google Apps are an example of​ ________. A. platform as a service​ (PaaS) B. software as a product​ (SaaP) C. platform as a prod
    7·1 answer
  • Qazwsxedcrfvtgbyhnujmikolp. In which direction on the keyboard did I type in?
    14·2 answers
  • The figure above shows a DC motor that contains a series field winding (F1) with a resistance of 10 , a parallel field winding (
    8·2 answers
  • Hi, I just ate a hot banana that I cooked in the oven.
    6·2 answers
  • when you enter a formula in a cell the result of the calculation displays in a cell. how do views of formula after entering it?
    9·2 answers
  • Subjective Questions
    11·1 answer
  • A python program for the following output using for loop.
    13·1 answer
  • The letters G, H, T, Y, B, and N are what type of keys?
    15·2 answers
  • there is a structure called employee that holds information like employee code, name, date of joining. Write a program to create
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!