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
AysviL [449]
3 years ago
11

Rint "Censored" if userInput contains the word "darn", else print userInput. End with newline.

Computers and Technology
1 answer:
suter [353]3 years ago
6 0
This is the closest thing I could come up with since I don’t really know c++. (just so it’s easier maybe put the name of the programming language)

You might be interested in
A friend was just promoted to a new job that requires part-time travel, and he has also been promised a new laptop after his fir
Zanzabum

Answer:

Well, I would definitely advise him to buy USB hubs.

Explanation:

USB hub is a device that can give additional USB slot for the user just by consuming one single slots. In recent years, USB hubs can contain more than 9 slots with different variety, including HDMI and DVI that is required by this particular friend.

Using this device will make it easier to plug in and plug out all the devices he wants to his laptop since it all connected to one single hub.

Since he only has the budget under 100$ , Dell DA300 6-in-1 USB-C Hub could be a good option for Him.

5 0
3 years ago
You can move the insertion point into the next text placeholder by pressing the _____ keyboard shortcut keys. ctrl m ctrl n ctrl
gulaghasi [49]
By pressing the Ctrl + enter
6 0
3 years ago
Write a recursive, int-valued method, len, that accepts a string and returns the number of characters in the string.
marin [14]

Answer:

See Explanation Below

Explanation:

We name our recursive function to be "len" without the quotes

Also, the string whose length is to be calculated is named as StringCalc

Please note that only the function is written; the main method is omitted and it's written in Java Programming Language

The recursive function is as follows:

public int len(String StringCalc){

// Check if StringCalc is an empty string

if (StringCalc.isEmpty())

{

return 0;

}

// If otherwise; i.e. if StringCalc is not empty

else{

// Calculate length of string

int lengths = StringCalc.length();

// Return the length of string from the second character till the last

return (1 + len(StringCalc.substring(1, lengths)));

}

}

// End

The first line of the code declares the recursive function

public int len(String StringCalc)

The next line checks if the input string is empty

if (StringCalc.isEmpty())

This can also be written as

if(StringCalc == "")

If the above is true, the recursive returns the value of 0

Else; (i.e. if it's not an empty string), it does the following

It calculates the length of the string as follows

int lengths = StringCalc.length();

The length of the string is saved in variable "lengths"

Then the length of the string starting from the second character is calculated; since the index string is taken as 0, the recursive consider character at index 1 till the last index.

7 0
3 years ago
Danica is creating a flyer for her cookies that she will sell during her school fair. She wants to add a registered
White raven [17]

Answer:

Putting the insertion point where she wants the symbol.

Hope this helps!

3 0
4 years ago
So far , All of the input that we have seen comes directly from the user with your partner brainstorm other ways an app might ge
Rashid [163]

Answer:

An app can get information from the device itself like diagnostic data or location.

Explanation:

5 0
4 years ago
Other questions:
  • In a four-stroke engine, the time period when both valves are slightly open is called valve
    7·1 answer
  • 1. Information integrity ensures that data can be modified only by appropriate mechanisms.
    9·2 answers
  • ​_____ refers to​ internet-based platforms that allow users to create their own content and share it with others who access thes
    6·1 answer
  • 13) What are the benefits and detriments of each of the following? Consider both the systems and the programmers’ levels. a. Sym
    14·1 answer
  • Use the variables k and total to write a while loop that computes the sum of the squares of the first 50 counting numbers, and a
    10·1 answer
  • Write a program with a loop that lets the user enter a series of positive integers. The user should enter −1 to signal the end o
    7·1 answer
  • Which statement describes a mobile device feature? Docking stations can add some functionality to mobile devices such as video o
    11·1 answer
  • Which of the following are considered transactions in an information system?
    13·1 answer
  • Create 2 methods of your choice.
    5·1 answer
  • HELPPPPPOOP
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!