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
Delicious77 [7]
3 years ago
6

True or False. When used with the cout object, the endl stream manipulator advances the cursor to the next line on the computer

screen.
Computers and Technology
1 answer:
defon3 years ago
3 0

Answer:

The answer is TRUE

Explanation:

When we use Cout object the endl move the cursor to the next line to the computer screen.The endl is a predefined object.It is used to insert a line.

Manipulators are the objects that inserted into a stream and effect the format of objects.Manipulators are used to control the state of stream.

You might be interested in
if an open cut or wound is exposed to contamination washing it in hot water and hand soap is not sufficient to keep safe
Serggg [28]
True u need to cover the would so it does not get contaminated again it also depends how long it been exposed and if it’s already infected
3 0
3 years ago
Read 2 more answers
How do you attach an image in brainly? Like if you have a question, but people answering it need to see a picture of what you're
rjkz [21]

1. Ask your question.

2. Click the paperclip.

3. Attach an image from camera roll (on a device) or your digital files from a computer.

6 0
3 years ago
What situations might call for nontraditional presentation distribution methods? Check all that apply. web-based training VOIP (
EastWind [94]

Answer:

I. Web-based training

II. VOIP (Voice over IP) meetings

III. Distance education

IV. e-learning

Explanation:

PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation.

Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.

A nontraditional presentation distribution method typically involves the use of digital based platforms for the presenting informations to the audience.

Hence, the situations that might call for nontraditional presentation distribution methods include;

I. Web-based training

II. VOIP (Voice over IP) meetings

III. Distance education

IV. e-learning

7 0
3 years ago
Read 2 more answers
Why might you want to use a raid 0 disk configuration?
borishaifa [10]

Using a RAID 0 Disk Configuration, improves the overall disk performance of your computer. RAID 0 is commonly referred to as a stripe set or striped volume. RAID 0 splits the data equally through two or more disks, deprived of equivalent information, excess, or fault tolerance.

8 0
3 years ago
Write a program that will ask for the user to input a filename of a text file that contains an unknown number of integers. And a
Ratling [72]

Answer: Provided in the explanation section

Explanation:

Code provided below in a well arranged format

inputNos.txt

70

95

62

88

90

85

75

79

50

80

82

88

81

93

75

78

62

55

89

94

73

82

___________________

StandardDev.java

import java.io.File;

import java.io.FileNotFoundException;

import java.util.Scanner;

public class StandardDev {

public static void main(String[] args) {

//Declaring variables

String filename;

int count = 0, i = 0;

Scanner sc1 = null;

int min, max;

double mean, stdDev;

int nos[] = null;

/*

* Creating an Scanner class object which is used to get the inputs

* entered by the user

*/

Scanner sc = new Scanner(System.in);

//Getting the input entered by the user

System.out.print("Enter the name of the filename :");

filename = sc.next();

try {

//Opening the file

sc1 = new Scanner(new File(filename));

//counting no of numbers in the file

while (sc1.hasNext()) {

sc1.nextInt();

count++;

}

sc1.close();

sc1 = new Scanner(new File(filename));

//Creating an Integer based on the Count

nos = new int[count];

//Populating the values into an array

while (sc1.hasNext()) {

nos[i] = sc1.nextInt();

i++;

}

sc1.close();

//calling the methods

min = findMinimum(nos);

max = findMaximum(nos);

mean = calMean(nos);

stdDev = calStandardDev(nos, mean);

//Displaying the output

System.out.println("Read from file :" + count + " values");

System.out.println("The Minimum Number is :" + min);

System.out.println("The Maximum Number is :" + max);

System.out.printf("The Mean is :%.2f\n", mean);

System.out.printf("The Standard Deviation is :%.2f\n", stdDev);

} catch (FileNotFoundException e) {

e.printStackTrace();

}

}

//This method will calculate the standard deviation

private static double calStandardDev(int[] nos, double mean) {

//Declaring local variables

double standard_deviation = 0.0, variance = 0.0, sum_of_squares = 0.0;

/* This loop Calculating the sum of

* square of eeach element in the array

*/

for (int i = 0; i < nos.length; i++) {

/* Calculating the sum of square of

* each element in the array    

*/

sum_of_squares += Math.pow((nos[i] - mean), 2);

}

//calculating the variance of an array

variance = ((double) sum_of_squares / (nos.length - 1));

//calculating the standard deviation of an array

standard_deviation = Math.sqrt(variance);

return standard_deviation;

}

//This method will calculate the mean

private static double calMean(int[] nos) {

double mean = 0.0, tot = 0.0;

// This for loop will find the minimum and maximum of an array

for (int i = 0; i < nos.length; i++) {

// Calculating the sum of all the elements in the array

tot += nos[i];

}

mean = tot / nos.length;

return mean;

}

//This method will find the Minimum element in the array

private static int findMinimum(int[] nos) {

int min = nos[0];

// This for loop will find the minimum and maximum of an array

for (int i = 0; i < nos.length; i++) {

// Finding minimum element

if (nos[i] < min)

min = nos[i];

}

return min;

}

//This method will find the Maximum element in the array

private static int findMaximum(int[] nos) {

int max = nos[0];

// This for loop will find the minimum and maximum of an array

for (int i = 0; i < nos.length; i++) {

// Finding minimum element

if (nos[i] > max)

max = nos[i];

}

return max;

}

}

_____________________

Output:

Enter the name of the filename :inputNos.txt

Read from file :22 values

The Minimum Number is :50

The Maximum Number is :95

The Mean is :78.45

The Standard Deviation is :12.45

cheers i hope this helped !!!

7 0
3 years ago
Other questions:
  • When was Microsoft released to public schools?
    10·1 answer
  • Which payment type is best if you are trying to sick to a budget?
    15·1 answer
  • What is my credit card billing zip code??
    15·1 answer
  • What is a main cause of an aurora?
    8·1 answer
  • When you gather primary or secondary data, what part of the market information management process are you participating in?
    8·1 answer
  • How are IP addresses usually written?
    7·1 answer
  • Write a nested loop to set values as follows: [0] [1] [2] [3] [4] [0] 1 2 3 4 5 [1] 1 2 3 4 5 [2] 1 2 3 4 5 [3] 1 2 3 4 5
    12·1 answer
  • A10:A20 Refer to values in
    13·1 answer
  • I need help with the rest also
    6·1 answer
  • 7.4 Lesson Practice (projectstem): what is output if the user is enters 2?​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!