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
weqwewe [10]
3 years ago
9

Modify the countUp( ) you wrote in the previous question to countUp( num), where num is a parameter. The function displays from

1 to num.
Computers and Technology
1 answer:
algol [13]3 years ago
4 0

Answer:

void countUp(int num)

{

   if(num==0) //base case.

   return;

   countUp(num-1);//Recursive call.

   cout<<num<<" "; //printing the number.

}

for input num=25

Output:-1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

Explanation:

I have used recursion to print the numbers the function is in c++ language.In every recursive call we are decreasing num by 1.As the base case is reached.Then it will backtrack from 1 to num and then we are printing while backtracking.

You might be interested in
Which best describes a hybrid drive?
Rainbow [258]

Answer:

Two drives: one being an SSD and one being an HDD

Explanation:

SSHD is a hybrid of the SSD and HDD. It has the capacity of a HHD and the speed close to that of a SSD. Frequently used software are stored in the SSD part for quick access and everything else is stored in the HDD.

5 0
3 years ago
What do developers do to support software products? explain to users which development process model was used to make the produc
cestrela7 [59]

Answer:

The developer develops the user manuals to support their products. And agile development process is being used to make the user manual. The technical write this, but they first talk to developers, designers, project managers, team leaders etc. and collect all the information from them. And they start making them since start of the project. They use jira, git and various version control to update this document. And all the functionalities must be mentioned accurately, as well as latest of them to ensure reliability and credibility. Devops is another automated technology being used extensively these days.

Explanation:

The answer is self explanatory.

8 0
3 years ago
The mobile nodes (devices) add or leave a Mobile Ad-hoc Network, changing the _____ of this network over time. a) infrastructure
s2008m [1.1K]

Answer:

transmission range....

8 0
3 years ago
PASSAGE: The picnic had been scheduled for weeks in advance. The Morris family was looking forward to some fun and relaxation wi
Mekhanik [1.2K]

Answer:

B) The sky began to darken and rumble.

Explanation:

B) The sky began to darken and rumble.

It seems they have arranged it big. Hence, the money is not a problem. Any number of people can be invited,

The problem was certainly that the rain was about to come as sky turned dark and rumble. And hence, this answer as its what created tension.

7 0
3 years ago
HELPPPP MEEEE!!!!! ITS LIFE OR MUERTEEE
garri49 [273]

The author uses the text structure of compare and contrast to show multiple signals.

<h3>What is Text structures?</h3>

This is a term that connote the method used by authors to put together information in text.

Note that in the case above, The author uses the text structure of compare and contrast to show multiple signals.

Learn more about text structure from

brainly.com/question/12053427

#SPJ1

8 0
1 year ago
Other questions:
  • PLEASE HELP, True or False: The term whitespace speaks to the design of a website
    8·2 answers
  • We want to transmit 40 packets and the following packets are getting lost, 3,9, 25,28, 35. How many rounds are needed if
    5·1 answer
  • How long does it take to send a 8 MiB file from Host A to Host B over a circuit-switched network, assuming: Total link transmiss
    11·1 answer
  • Do you agree that technology can be used to commit acts of violence ? Explain why or why not
    11·1 answer
  • Which tool will select the lines of a sketch in digital software?
    7·1 answer
  • A user purchased a new smart home device with embedded software and connected the device to a home network. The user then regist
    5·1 answer
  • Please tell fast plzzzzzzzz​
    11·2 answers
  • 14. Which of the following is NOT a
    6·2 answers
  • Also have a good day people !!
    5·2 answers
  • Does any of yall play rob lox?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!