subject

Function start() { println(mystery(3, *-*"));
}
function mystery (num, pattern) {
var result
for (var i = 0; i < num; i++) {
result result + pattern;
}
return result;
}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 23.06.2019 22:50
What is an rss reader used for? for creating a user account on a social new site
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
How are we able to create photographs differently than 100 years ago? explain your answer in relation to your photograph you selected.
Answers: 1
question
Computers and Technology, 24.06.2019 13:10
Write a program that has a conversation with the user. the program must ask for both strings and numbers as input. the program must ask for at least 4 different inputs from the user. the program must reuse at least 3 inputs in what it displays on the screen. the program must perform some form of arithmetic operation on the numbers the user inputs. turn in your .py file as well as a screenshot of your program's output. include comments in your code to explain how it works an example program run might look like (have fun with this and be creative): ‘what is your name? ’ “josh” ‘, josh. what is your favorite color? ’ “green” ‘mine too. do you also like ice cream? ’ “no” ‘josh, how old are you? ’ “40” ‘ and how many siblings do you have? ’’ “3” ‘that means you are one of 4 kid(s). is green the favorite color of anyone else in your house? ’
Answers: 3
You know the right answer?
Function start() { println(mystery(3, *-*"));
}
function mystery (num, pattern) {
...
Questions
question
Mathematics, 16.04.2021 20:10
question
Mathematics, 16.04.2021 20:10
question
Mathematics, 16.04.2021 20:10
question
Mathematics, 16.04.2021 20:10
question
Mathematics, 16.04.2021 20:10
question
Chemistry, 16.04.2021 20:10
Questions on the website: 13722362