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
brilliants [131]
3 years ago
13

Write a line of code to output the following message: Welcome to Computer Science

Computers and Technology
2 answers:
kodGreya [7K]3 years ago
5 0

Answer:

<u><em>Using python </em></u>

print("Welcome to computer Science")

<u><em /></u>

<u><em>Using JavaScript,</em></u>

console.log("Welcome to computer science")

document.write("Welcome to computer science")

Explanation:

There are various kind of coding language use to output a string. The text "Welcome to computer science" can be outputted using different backend languages .Example of this languages includes Python, JavaScript, Kotlin, Java, R, Php etc.  But I will write the code using JavaScript and Python.

<u><em>Using python </em></u>

print("Welcome to computer Science") .

This will output Welcome to computer science

<u><em>Using JavaScript,</em></u>

console.log("Welcome to computer science") on your browser console but on your Html document it is written as

document.write("Welcome to computer science")

Bingel [31]3 years ago
4 0
OK I need more info it is not anfo imfo for me to answer the question so I guess good bye
You might be interested in
What are horizontal and vertical page break? how and where are these inserted?​
Elena L [17]

A. Do this. horizontal page breaks. select the row that is underneath the row where you want the page to break vertical page break....

B. on the layout lab, under page set up, click breaks, and then click insert page break.

Explanation:

DO ONE OF THE FOLLOWING: TO INSERT

4 0
4 years ago
Write an algorithm to sum to values
Elis [28]

Answer:

There is no need to make an algorithm for this simple problem. Just add the two numbers by storing in two different variables as follows:

Let a,b be two numbers.

c=a+b;

print(c);

But, if you want to find the sum of more numbers, you can use any loop like for, while or do-while as follows:

Let a be the variable where the input numbers are stored.

while(f==1)

{

printf(“Enter number”);

scanf(“Take number into the variable a”);

sum=sum+a;

printf(“Do you want to enter more numbers? 1 for yes, 0 for no”);

scanf(“Take the input into the variable f”);

}

print(Sum)

Explanation:

hi there answer is given mar me as brainliest

5 0
3 years ago
Write down the name of output devices
notka56 [123]

Answer:

Monitor

Printer

Headphones

Computer Speakers

Projector

GPS

Sound Card

Video card

4 0
3 years ago
Read 2 more answers
Which model allows you to make subsystems in parallel?
boyakko [2]
The model is Parallel Distributed Processing Model (PDP) wherein m<span>Memory results from weblike connections among interacting processing units operating simultaneously, rather than sequentially ( also known as the connectionist model).</span>
8 0
3 years ago
This variable controls the number of times that the loop iterates. A. Counter variable B. Loop control variable C. Running total
Norma-Jean [14]

Answer:

B) Loop control Variable

Explanation:

When programming, A loop control variable is used to control the number of iterations for a program loop. By convention programmers love to call this variable counter, i, j, n etc. The control variable when defined will determine the number of times a loop will execute. See the example bellow in C++ where we use a for loop to print the word "Hello" 5 times

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

<em>using namespace std;</em>

<em>int main()</em>

<em>{</em>

<em>  for(int counter = 0; counter<5; counter++){</em>

<em>    cout<<"Hello"<<endl;</em>

<em>  }</em>

<em>    return 0;</em>

<em>}</em>

In this code snippet, the control variable is called counter and the condition is that counter will run from 0 to 4. So we get the world Hello printed five times

8 0
3 years ago
Other questions:
  • After which problem-solving stage should you take action?
    12·1 answer
  • Which of these tasks can be accomplished when the drop-down menu of the Bullets icon is clicked?
    14·1 answer
  • WHAT is the USE OF RIBBON TAB​
    10·1 answer
  • "Smart-Toys-Smart Kids" is a toy manufacturing company. They are providing toys to more than 100 different Toy retail stores in
    8·1 answer
  • I don't understand how to write code for this in Java using nested for loops only. The official question is: write a program tha
    8·1 answer
  • When a new word processing software program is released, companies that might use it must consider not only the cost of buying i
    13·1 answer
  • What does it mean by the term versatility in computer world ​
    9·1 answer
  • NO LINKS<br> Do you need to pay monthly to stream on Twitch?
    5·1 answer
  • A director was fined heavily for shooting in his own house in New York. What do you think was his mistake?
    5·2 answers
  • The ____ statement can be used to eliminate the use of certain (flag) variables.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!