Обсуждения
classe animal has makesound function i.e grr..... nd classes cat and dog also have makesound function i.e meow nd woof respectively... due to inheritance classes cat and dog also have makesound function of animal class ie grr.... now my q is how compiler will know which function to execute is nt ds ambiguous??... two choices r dere....
1 make sound function of animal class ie grr
2 make sound function of own like woof or meow.... any help would be really helpful....
0 голосов
6 ответовWrite a python program which will ask user to enter 3 numbers. Your program will output the sum and average of these 3numbers.your program will also output the largest number, the smallest number of these three. For exampleif user enter 2,10,3 than your program will output,
For number 2,10,3 sum is 15,average is 5,the largest number is 10 and the smallest number is 2.
2 голосов
10 ответовcan someone please explain to me how moving objects are produced ? (example in games). must I use graphics.h?. how do I transform it from simply a compiled piece of code in code block to a real software?. I've been googling this for days now and I'm still confused. Please an extensive explanation would be appreciated🙏. Thanks.
p. s you can also recommend websites where I can learn more and see good sample codes.
10 голосов
5 ответовWrite a python program which will ask user to enter 3 numbers. Your program will output the sum and average of these 3numbers.your program will also output the largest number, the smallest number of these three. For exampleif user enter 2,10,3 than your program will output,
For number 2,10,3 sum is 15,average is 5,the largest number is 10 and the smallest number is 2.
-1 голос
4 ответовcan someone tell me how to make it impossible for a user to type a 'userchoice1[x]' value that does not range from 1 - 10.
If you also know a way I can make the user input another value for the 'userchoice1[x]' variable if it is less than 1, I'll appreciate you share the knowledge with me.
please see the short code below
1 голос
2 ответовso far in section 1 question 2 area all of the videos have been ads that if you skip the add it just brings up the questions you need to answer. also if you play the add all the way thru you get the same exact thing. luckily I'm using this as a refresher course but I would think if I didn't know anything about c++ then I could be pretty lost missing videos.
0 голосов
2 ответовАктуальное сегодня
Help please?
3 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes