please say me how I can write a program when my task is this:(Enter three variables, print the maximum value if the values of the other two variables are equal.)
Write a function called max that takes two numbers and compares them. This function should return true if the first number is greater than the second one, otherwise, return false. by using function please help
Love it. Straight to the point!
Thank you.
Hi. How about finding the largest and smallest number among 3 numbers using if statement?
Need help with this? Sorry for the late reply.
Awesome video, helped me a lot
Glad it helped
please say me how I can write a program when my task is this:(Enter three variables, print the maximum value if the values of the other two variables are equal.)
Thank you so much. This greatly helps❤️
So glad it helps.
How about if they enter something other than integers
Nice video mother!!!
Write a function called max that takes two numbers and compares them. This function should return true if the first number is greater than the second one, otherwise, return false.
by using function
please help
bool max( int num1, int num2){
if(num1 > num2)
return true;
else
return false;
}
Thanx❤️❤️
How do we take into account 2 equal highest numbers
The highest is the highest, whether there are duplicates or not. Are you trying to count duplicates?
Is there anyway to make it so there are 3 numbers and then it does this with the negative numbers by only saying whats the biggest negative number
hey!! sorry for bothering but i need a help to download a cpp compiler. a link will help. thanks
Hello, straight from Bjarne Stroustrup's homepage: www.stroustrup.com/compilers.html
Thanks You helped me!
Glad to hear that!
Could u pls tell me how to run code in sublime text editor
www.quora.com/Is-there-a-way-to-compile-and-run-C++-in-Sublime-Text#:~:text=You%20can%20directly%20compile%20C,(shortcut%20%3A%20Ctrl%20%2B%20B)&text=which%20can%20be%20edited%20to,std%3Dc%2B%2B0x%20option.
Wow nice thank u so much
Most welcome 😊
keyboard ASMR lol
thanks sister
You’re welcome 😊
This helps allot
Happy to help.
Thanks!
Welcome!
Hi
Hi.
@@HeidiGentryKolen from where??