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
USPshnik [31]
3 years ago
13

Evaluate the following expression with precedence of operator: ​ X = 2* 3/ 5 + 10 //3 – 1

Computers and Technology
1 answer:
Mamont248 [21]3 years ago
4 0

Answer:  3.5333 repeating

Explanation:

2 times 3/5 equals 1.2, 1.2 plus 10 equals 11.2, 11.2 divided by 3-1 equals 3.5333 repeating i think.

You might be interested in
Suggest two other subtasks that may be performed in a dice game?
saul85 [17]
I do not even know wht to tell u
4 0
3 years ago
Read 2 more answers
Analyze the following code. // Program 1: public class Test { public static void main(String[] args) { Object a1 = new A(); Obje
viktelen [127]

Answer:

Hi there! The question is quizzing on your knowledge of type casting. Please find the explanation below.

Explanation:

The first program declares a Test class containing the main function in which two objects of class A are created and compared. The main function is the entry point of a Java program. After objects a1 and a2 are created, their comparison function “equals” is invoked and the result printed on the screen with the “System.out.println” method. The second program is the same in this respect, except for the implementation of class A. In the first program, class A has the property “x” defined as an int. The method “equals” accepts any object and type casts (converts) the passed object to a type of class A and compares and returns whether the property x of the type-casted object matches the property of the current object a. In the second program, the equals method of class A only accepts an input parameter of class A and returns whether the property x of the type-casted object matches the property of the current object a.

8 0
3 years ago
You may nest while and do-while loops, but you may not nest for loops<br><br><br><br> True False
morpeh [17]

Answer:

You may nest while and do-while loops, but you may not nest for loops - False

4 0
2 years ago
Summary In this lab, you declare and initialize variables in a C++ program. The program, which is saved in a file named NewAge.c
AVprozaik [17]

Answer:

<em>#include <iostream></em>

<em>using namespace std;</em>

<em>int main()</em>

<em>{</em>

<em>  int myNewAge;</em>

<em>  int myCurrentAge = 29;</em>

<em>  int currentYear = 2020;</em>

<em> </em>

<em>myNewAge = myCurrentAge+(2050-currentYear);</em>

<em />

<em>cout<<"My Current Age is "<<myCurrentAge<<". I will be "<<myNewAge<<" in 2050"<<endl;</em>

<em>    return 0;</em>

<em>}</em>

Explanation:

The program is written in C++ language as required. firstly, we declare the three variables:

<em>  </em><em>int myNewAge;</em>

<em>  int myCurrentAge = 29;</em>

<em>  int currentYear = 2020;</em>

Then we calculate the new age as: <em>myNewAge = myCurrentAge+(2050-currentYear);</em>

Using multiple cout operators (<em> </em><<) we display the output nicely as required by the question with this statement

<em>cout<<"My Current Age is "<<myCurrentAge<<". I will be "<<myNewAge<<" in 2050"<<endl;</em>

7 0
2 years ago
What are informational sessions?
bixtya [17]

Answer:

A courses in information technology available at community colleges

Explanation:

Trust me

5 0
3 years ago
Other questions:
  • To move a file, you use the ____ command along with the source file name and destination name
    5·1 answer
  • Impact of computer on education
    6·2 answers
  • Word 2013 opens, by default, on a blank document?
    13·2 answers
  • How do you create a reference page in apa format with all websites?
    5·1 answer
  • If a function needs to return more than one value, as a rule of good programming style, you should change it to a(n) ___________
    6·1 answer
  • If we can lock a file, we can solve the race condition problem by locking a file during the check-and-use window, because no oth
    14·1 answer
  • Write a for loop to print all NUM_VALS elements of array hourlyTemp. Separate elements with a comma and space. Ex: If hourlyTemp
    11·1 answer
  • Extended essay on globalization not less than 200​
    6·1 answer
  • If you want to change the name of a folder that stores Word documents, what should you do before changing the
    15·1 answer
  • My assignment asks me to write a python program using if, elif, and else that takes a user's salary and calculates the tax based
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!