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
drek231 [11]
2 years ago
15

I need to code a simple racing game in c++. Help, please. ​

Computers and Technology
1 answer:
QveST [7]2 years ago
8 0
Can you attach what you have so far
You might be interested in
Write a method named removeDuplicates that accepts as a parameter a List of integers, and modifies it by removing any duplicates
AnnyKZ [126]

The method is an illustration of loops or iteration.

Loops are used to carry out repetitive operations.

The removeDuplicates method in Python is as follows, where comments are used to explain each line.

#This defines the method

def removeDuplicates(list):

#This initializes the output list

   outputList = []

#This iterates through the list

   for i in list:

#All elements not in the output list, are appended to the output list

       if i not in outputList:

           outputList.append(i)

#This returns the output list

   return str(outputList)

At the end of the method, the new list contains <em>no duplicates</em>.

Read more about similar program at:

brainly.com/question/6692366

5 0
3 years ago
Identify the correct options to complete the following passage.
daser333 [38]

You can use special tools such as boxes in word processors and presentation programs to create flowcharts on a computer.

Explanation:

Word processors are the software to produce documents like reports, manuscripts, books, and letters. Microsoft word is the most popular word processing software. There are various formatting tools available in it to make the document easier to read and understand.

To create flowchart in MS-word-

  1. Click insert  
  2. Click Shapes for drop down menu
  3. Find arrow lines and boxes to create flowcharts.

7 0
4 years ago
Within how many days can a deleted view be restored?
Nadya [2.5K]

ofcourse within 34-35 Days

3 0
3 years ago
Transcoding digital videos does not cause a loss of quality. <br> a. True <br> b. False
ella [17]
Maybe its true i am not sure
8 0
3 years ago
Write a recursive method called, doMyMath, which takes as input any positive integer and calculates the factorial (use comments
gulaghasi [49]

Answer:

def doMyMath(n):  

    if n == 1:  

         return n  

    else:  

         return n*doMyMath(n-1)  

Explanation:

This line defines the function

def doMyMath(n):  

This line checks if n is 1. If yes, it returns n (1)

    if n == 1:  

         return n  

If otherwise, it calculates the fibonacci recursively

    else:  

         return n*doMyMath(n-1)  

To call the function from main, you can use:

print(doMyMath(5))

or

num = int(input("Number: "))   --- This gets the number from user

print("Result: ",doMyMath(num)) --- This calculates the factorial

<em>This question is answered in Python</em>

6 0
3 years ago
Other questions:
  • A network TAP serves what purpose on a network?
    7·1 answer
  • A software architecture that divides an application into view, business logic, and data is called a(n) ________.â
    14·1 answer
  • Which name is given to a set of communications standards for simultaneous digital transmission of voice, video, data, and other
    6·1 answer
  • Which commercial email provider is most closely associated with Apple devices?
    9·1 answer
  • An isotope of an element has:
    11·2 answers
  • What are 5 ways we can reduce our energy?
    5·1 answer
  • What is the smallest amount of information called?
    13·2 answers
  • Which web design concept is most closely related to elements that symbolize the real world​
    5·1 answer
  • Dispositivo de computo
    5·1 answer
  • Draw a flowchart diagram for a program that display a person's name x times​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!