Kapalı

my project on the build a car racing game with the help of python and c++

Job Description:

#include <iostream>

#include <cstdlib>

#include <ctime>

using namespace std;

int main() {

srand(time(NULL)); // initialize random seed

int position = 0; // initialize car position to 0

// loop until car reaches finish line

while (position < 10) {

int move = rand() % 3 + 1; // generate random number between 1 and 3

position += move; // move car

cout << "Car moved " << move << " spaces. Position: " << position << endl;

}

cout << "Car wins!" << endl;

return 0;

}

for python

import random

position = 0 # initialize car position to 0

# loop until car reaches finish line

while position < 10:

move = [login to view URL](1, 3) # generate random number between 1 and 3

position += move # move car

print(f"Car moved {move} spaces. Position: {position}")

print("Car wins!")

Beceriler: Article Writing, Veri Girişi, Excel, Yazılım Test Etme, Web Güvenliği

Müşteri Hakkında:
( 0 değerlendirme ) Muzaffarnagar, India

Proje NO: #36219532

Bu iş için 11 freelancer ortalamada ₹964/saat teklif veriyor

robartint

Hello I am a professional python developer. My main specializations are automation, web scrapers and bots development. I have already developed over 200 scrapers. From the simplest (for example, a competitor's price Daha Fazla

₹750 INR / saat tutarından itibaren
(3 Değerlendirme)
2.8
wwwkunal546

Hello I am a professional python developer. My main specializations are automation, web scrapers and bots development. I have already developed over 200 scrapers. From the simplest (for example, a competitor's price Daha Fazla

₹1000 INR / saat tutarından itibaren
(1 Yorum)
1.0
costacks2023

Hey there, I understand that you need help with creating a simple racing game in C++ and Python. I am proficient in both programming languages, and I can help you create the game as per your requirements. For the C++ Daha Fazla

₹1100 INR / saat tutarından itibaren
(3 Değerlendirme)
0.0
SAMRICHARD1205

IF YOU GIVE ME THIS ILL COMPLETE THIS WORK WITHIN FEW DAYS AND ILL COMPLETE THIS WORK WITH IN TIME AND IT WILL BE MORE PERFECT AND IT WILL BE WITHIN ON TIME

₹1000 INR / saat tutarından itibaren
(0 Değerlendirme)
0.0
SaadGre

I am currently working and a student at IIT delhi and right now currently in the field of Computer science

₹750 INR / saat tutarından itibaren
(0 Değerlendirme)
0.0