Answer:
All the members within a class are by default are private. Private function in a class can access public function within a similar class. Private member formed the implementation of the class and also form the private interface of members within the class.
All the member of class can be access by function inside the class when it is declare as private.
For example:
class test
{
private:
int a; // when test:a is private
public:
test() : a() // a is accessible in test class
}
Answer:
I'm not sure i haven't had that problem
Explanation:
Answer:
import random
number1 = random.randrange(0, 1000)
number2 = random.randrange(0, 1000)
answer = int(input("Enter a number: "))
if answer == number1 + number2:
print("Your answer is correct")
else:
print("Your answer is not correct")
Explanation:
The code is in Python
Create two integer numbers using random
Ask the user for an input
Check if answer is equal to number1 + number2. If they are equal, print "answer is correct". Otherwise, print "answer is not correct".
The appropriate response is colosseum. It is otherwise called Coliseum and Flavian Amphitheater is an oval amphitheater in the focal point of the city of Rome, Italy. Worked of cement and sand, it is the biggest amphitheater at any point assembled.