Number Guessing Game | C++ Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Hi sir
One video was missing in your playlist for both languages c and c++ it is inline functions advantages and disadvantage about a video on this topic thank you
For this little project for very beginners who are wiling to show up their coding skills at starting before heading to DSA

ramakrishna
Автор

00:02 Create a simple number guessing game in C++
00:45 Using the time function to generate a unique seed for random integer generation.
01:29 Using explicit type cast for time function return value
02:19 Using modulus operation to generate random numbers in a range.
03:12 Generating a random integer between 1 and 100 using C++
04:01 Prompt user to guess until correct
04:55 Guidance for number guessing game in C++
05:41 Demonstrating a simple number guessing game in C++.
Crafted by Merlin AI.

GandharvTalikoti-re
Автор

Thank you so much!!. It worked.
I'm so grateful. Thank you.

I have other questions I can't find solutions to

_divinee.zoe._
Автор

Thank you for saying tutorial step by step ❤️ I'm glad that I find you, I have another question can you do a guess number but this time computer has a secret number but we need to guess the computers number

VipPower-ucgo
Автор

How can we make the programm guess a number between 1-100 (User says yes and no)

chryzos
Автор

Thank you
Can you please cod a program to give you the next random number by providing previous numbers.

christianaglanu
Автор

Are you kidding me i copied the same and still not working and there no mistake

zasihan_ahmad
Автор

Hello Kevin, I have a question. When we use srand function, we have used time function and we set time NULL. Why have we used time function and is there any program in case of not using time function and not setting time Null? ı just couldnt get it why we haved used time function and couldnt understand current time emphasis.

yigitcoban
Автор

Same code ko copy paste kr de hu me codeshoft pr

Sanakhan-