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

Write the definition of a function named printstarbucks that receives a non-negative integer n and prints a line consisting of n

asterisks followed by n dollars signs. so, if the function received 5 it would print: *****$$$$$ and if received 3 it would print ***$$$ the function must not use a loop of any kind (for, while, do-while) to accomplish its job.
Computers and Technology
1 answer:
garri49 [273]3 years ago
4 0
Don’t understand what you are asking
You might be interested in
What application service allows you to decouple your infrastructure using messaged based queues?
vivado [14]

Answer:A) SQS

Explanation: Simple Queue Service (SQS) is Amazon based service that deals in queue that decouples the micro-services infrastructure or applications.It has the benefit of maintaining of the security, eliminating complexity, transmitting the data reliably etc.

It also provides the service of the storing the message, storing it and other functioning without the integrity in its security or any other resource need.Thus, option(a) is the correct option.

6 0
3 years ago
What new deal programs were created to build dams to control flooding and generate electric power?
rewona [7]
<span>TVA (Tennessee Valley Authority).

</span><span>Recovery-1933 program created to provide jobs. Built dams in order to generate cheap electricity and control flooding in TN, GA, AL, and KY. Sparked controversy because companies that provided electricity would now have to compete with the government. Eliminated flooding, gave thousands electricity for the first time, improved transportation and forced 15,000 families to move.</span>
3 0
3 years ago
A terrible new disease, HORSEVID, has begun to spread among horses worldwide. Stable manager Jimmy is trying to take as many pre
tresset_1 [31]

Answer:

Explanation:

Well here you only have to add 2 new horses .... so simply what you can do is find 2 slots where the gap is maximum ... lets take the given example in detail to understand the same.... here 10001001000010 here you can observe that the difference between the first two filled slots is 3 then 2 then 4 then 1....... make it a separate array ...... now as i said that we just need to place two new horses so we just need two of the biggest numbers from this array and place the new horses at the center of the corresponding slots ... like here 3 and 4 are greatest ... so one horse is placed in between the gap corresponding to 3  while other at 4 ..... after making the new array answer can be find in linear time itself... I hope this makes sense ....

Now lets understand how to program it easily so firstly after scanning all stuff ..... we will make a gap array .... then just think now what we will do is find the greatest two numbers then again putting the horses and then find our answers .... so now an easy approach is that instead of making the string again and again searching for answer .... what we do is just do half of the two greatest ones and again find the greatest one in array....

6 0
3 years ago
When evaluating the validity of a website beyond its URL, you can practice the "rule of 3" which means
Schach [20]

Any information on a website should be findable within 3 mouse clicks.

5 0
3 years ago
Read 2 more answers
What are some random fun facts about Technology?
Lana71 [14]

Answer:

i do not know

Explanation:

but it helps to communication

5 0
2 years ago
Other questions:
  • Which of the following accurately completes this sentence? The Internet is ____.
    6·2 answers
  • Create a class named Person that holds the following fields: two String objects for the person’s first and last name and a Local
    5·2 answers
  • Data hiding, which means that critical data stored inside the object is protected from code outside the object, is accomplished
    14·2 answers
  • Circular error are caused by adding the cell name of a/an cell to aformula
    7·1 answer
  • How can an administrator make only the files and folders to which a user has at least Read permissions visible?
    13·1 answer
  • Of the measures of feasibility in the accompanying figure, ____ considers points such as "Does the proposed platform have suffic
    8·1 answer
  • Difference between positional and non positional number​
    12·1 answer
  • Which of the following is an example of an output device
    13·1 answer
  • What is a programming concept based on objects and data and how they relate to one another, instead of logic and actions. Hint:
    10·1 answer
  • How long does an online snap application take to process ohio
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!