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
Dmitry [639]
3 years ago
12

50 pts

Computers and Technology
2 answers:
Aloiza [94]3 years ago
7 0

Answer:

I would do newWord = word1 * word2

Explanation:

seems best for combining words. It wouldn't be - or == and + seems more math while * seems more combining words.

gregori [183]3 years ago
4 0

Answer:

newWord = word1 + word2

Explanation:

Depends on the language you are using but typically to add two strings together you would use the + symbol

+ would be add text

- would be remove

* I've never seen to be honest

== would be says is equal to so figuring out if both word1 and word 2 were the same

You might be interested in
a document contains a list of items that appear in no particular order. what is the best way to format the list
krok68 [10]

Answer:

bulleted list

Explanation:

8 0
3 years ago
All information is clearly identified and easy to find within the source
faust18 [17]

Answer:

reliable or credible

A document if it is clearly identified as well as it is quite easy to find it with the source, is said to be credible and reliable. If you want to find more then you can study the library Science and information science.

Its an important part of Library Science, as well as information science.

Explanation:

A document can be reliable only if it provides the correct answer, and can be found easily. If this is not the case then that document cannot be considered as being reliable or credible. This is the first thing which should be kept in mind while collecting the documents.

6 0
4 years ago
(TELL ME WHY PLEASE!! THANK YOU!!)
Jobisdone [24]
I would say D because in order to be flexible you have to be able to work around or with something in orded for it to still work hope this helped!!
4 0
3 years ago
Read 2 more answers
Whats the difference between firms that provide services and firms that sell products?
Sunny_sXe [5.5K]
One is for entertainment (e.g. movies) and one is an advertisement/commercial
4 0
3 years ago
Read 2 more answers
For a set of integers stored in an array,calculate the sum of the positive numbers and the sum of the negative numbers. The prog
Radda [10]

Answer: The c++ program to implement the given conditions is shown below.

#include <iostream>

using namespace std;

int main()

{

// used as index of array in the loop for calculating the sum

   int i=0;

// array contains both negative and positive integers

// 0 is used as the sentinel value

   int arr[12]={-9,-8,-3,-12,-78,-10,23,45,67,1,0};

   int positiveSum=0, negativeSum=0;

   do

   {

       if(arr[i]<0)

           negativeSum = negativeSum + arr[i];

       if(arr[i]>0)

           positiveSum = positiveSum  + arr[i];

// after every element is added, index of array represented by i is incremented

       i++;

   }while(arr[i]!=0);

// loop continues till end of array is reached

   cout<<"Sum of positive integers "<<positiveSum<<" and sum of negative integers "<<negativeSum<<endl;

   return 0;

}

OUTPUT

Sum of positive integers 136 and sum of negative integers -120

Explanation: This program declares and initializes an integer array without user input. As mentioned in the question, 0 is taken as the sentinel value which shows the end of data in the array.

   int arr[12]={-9,-8,-3,-12,-78,-10,23,45,67,1,0};

All the variables are declared with data type int, not float. Since, integers can yield integer result only.

The do-while loop is used to calculate the sum of both positive and negative integers using int variable i. The variable i is initialized to 0.

This loop will run till it encounters the sentinel value 0 as shown.

while(arr[i]!=0);

Hence, all the integers in the array are read one at a time and sum is calculated irrespective of the element is positive or negative.

       if(arr[i]<0)

           negativeSum = negativeSum + arr[i];

       if(arr[i]>0)

           positiveSum = positiveSum  + arr[i];

After the element is added, variable i is incremented and loop is continued.

The do-while loop tests positive and negative integers based on the fact whether their value is greater than or less than 0.

The program can be tested using different size and different values of positive and negative integers in the array.

7 0
4 years ago
Other questions:
  • Choose the true statement below. a. The content that displays in the browser is contained in the head section. b. The content th
    13·1 answer
  • Building relationships during your career exploration is called
    9·2 answers
  • You are replacing the toner cartridge for an old laser printer. You are concerned that several internal components are reaching
    8·1 answer
  • To create a default value for a parameter in the parameter list of a function, you code a/an ________________ sign after the par
    5·1 answer
  • The following SQL statement contains which type of subquery? SELECT title FROM books WHERE EXISTS (SELECT isbn FROM orderitems W
    14·1 answer
  • Evaluate the following expression with precedence of operator:<br> ​ X = 2* 3/ 5 + 10 //3 – 1
    13·1 answer
  • A network resource is masquerading as a network server and is causing hosts on the network to send requests to the attacker rath
    11·1 answer
  • Professor Gig A. Byte needs to store text made up of the characters A with frequency 6, B with frequency 2, C with frequency 3,
    10·1 answer
  • What is meant by a control plane that is based on logically centralized control? In such cases, are the data plane and the contr
    8·1 answer
  • Which programming language in order takes the most lines code​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!