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
jeka94
3 years ago
13

What is the output by the code system.out.print(8-4+2);

Computers and Technology
1 answer:
Nonamiya [84]3 years ago
4 0

Answer:

6

Explanation:

You might be interested in
Dir, attrib, cd, and rem are all examples of:
konstantin123 [22]
Dir, attrib, cd, and rem are all examples of DOS Commands. dir command is used to display a list of files and folders contained inside your current folder. Attrib changes or views the attributes of one or more files. CD id for changing directory.  rem<span> command is used to record comments in a script file.</span>
3 0
3 years ago
Read 2 more answers
Which component of cpu controls the overall operation of computer..​
arsen [322]

Answer:

Control Unit.

Explanation:

The component of CPU that controls the overall operation of computer is control unit.

The control unit, also known as CU, is one of the main component of the Central Processing Unit (CPU). The function of CU is to fetch and instruct computer's logic unit, memory, input and output device. The CU receives information which it turns into signals. Thus controlling the overall operations of computer.

Therefore, control unit is the correct answer.

4 0
3 years ago
Given an alphanumeric string made up of digits and lower case ASCII characters only, find the sum of all the digit characters in
lara31 [8.8K]

Answer:

C++.

Explanation:

#include <iostream>

#include <string>

using namespace std;

////////////////////////////////////////////////////////////////////////////

int sumDigits(string alphanumeric) {

   if (alphanumeric.length() == 1) {

       if ((int(alphanumeric[0]) >= 48) && (int(alphanumeric[0]) <= 57)) {

           cout<<int(alphanumeric[0]) - 48<<endl;

           return (int(alphanumeric[0]) - 48);

       }

       else

           return 0;

   }

   else {

       if ((int(alphanumeric[0]) >= 48) && (int(alphanumeric[0]) <= 57)) {

           cout<<int(alphanumeric[0]) - 48<<endl;

           return int(alphanumeric[0]) - 48 + sumDigits(alphanumeric.substr(1, alphanumeric.length()-1));

       }

       else

           return 0 + sumDigits(alphanumeric.substr(1, alphanumeric.length()-1));

   }

}

////////////////////////////////////////////////////////////////////////////

int main() {

   cout<<"Sum: "<<sumDigits("ab1c2d3e54");

   return 0;

}

3 0
3 years ago
Select all that apply.
Leto [7]
You may do all of the given options.
Thank You!
8 0
4 years ago
Thirty percent of a magazine's subscribers are female. A random sample of 50 subscribers Answer the following questions using Ex
Ann [662]

Based on the mean of the subscribers, the sample size, and the standard deviation, the probability of females being at most 0.25 is 0.2202.

The probability that they are between 0.22 and 0.28 is 0.2703.

The probability that they are within 0.03 of the population proportion is 0.3566.

<h3>What is the probability that they are at most 0.25?</h3>

Using Excel, we shall assume that the distribution is normally distributed.

We can therefore use the NORM.DIST function:


=NORM.DIST(0.25,0.3,0.0648,TRUE)

= 0.2202

<h3 /><h3>What is the probability that they are between 0.22 and 0.28?</h3>

=NORM.DIST(0.28,0.3,0.0648,TRUE) - NORM.DIST(0.22,0.3,0.0648,TRUE)

= 0.2703

<h3>What is the probability that they are within 0.03 of the population proportion?</h3>

X high = 0.30 + 0.03

= 0.33

X low = 0.30 - 0.03

= 0.27

= NORM.DIST(0.33,0.3,0.0648,TRUE) - NORM.DIST(0.27,0.3,0.0648,TRUE)

= 0.3566.

Find out more on probability at brainly.com/question/1846009.

8 0
2 years ago
Other questions:
  • On a hard disk each track is divided into invisible wedge-shaped sections called _______
    15·1 answer
  • How do you make electricity
    10·1 answer
  • When making any change to the database structure, we may need to check for effects of the change on ________.?
    14·1 answer
  • A Cisco Catalyst switch has been added to support the use of multiple VLANs as part of an enterprise network. The network techni
    5·1 answer
  • Which sentence is an example of an I-statement?
    6·1 answer
  • 3. Create mode was one of the most innovative and influential features of which of the following games?
    7·1 answer
  • What can make an online interface difficult to use?​
    9·1 answer
  • Technology is (BLANK.1 ) science that makes (blank.2) science useful and practical.
    7·2 answers
  • Ethan is afraid that his poor grades will get him kicked out of his university at the end of the semester. He decided to remotel
    10·1 answer
  • Which type of service offers a preconfigured testing environment for application developers to create new software applications?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!