Discussions Q&R
IBM WATSON
-2 Votes
2 RéponsesC++ Output question
1 Vote
1 RéponseDynamic DataType
1 Vote
1 RéponseWHY DOESN’T IT PLOT
0 Vote
1 RéponseHello!
0 Vote
2 RéponsesJava script
-1 Vote
3 RéponsesAdditional course
0 Vote
2 RéponsesHelp me
-2 Votes
2 RéponsesI need to design a recursive function called replicate recur which will receive two arguments: times which is the number of times to repeat and data which is the number or string to be repeated.
The function should return an array containing repetitions of the data argument.
For instance, replicate_recur (3, 5) should return [5,5,5].
If the times argument is negative or zero, return an empty array. If the argument is invalid, raise ValueError.
0 Vote
4 Réponses Write a C++ program that retrieves all the numbers stored in a data file named LAB1.TXT. As each number is retrieved, it is displayed on the screen. After the end of file is reached, the numbers should be sorted into numerical order and then the result should be displayed
EXAMPLE: Assuming LAB1.TXT has the following numbers: 7 4 12 3 The output would be Original order:7 4 12 3Numerical order:3 4 7 12
0 Vote
2 RéponsesAujourd'hui en vedette
What's wrong in my code?
4 Votes
App Development
1 Votes
HTML
1 Votes
GUI-Based Python code in Webpage
2 Votes
Introduction of html
0 Votes
CSS or Tailwind
1 Votes
Web Developer Job?
1 Votes