Polymorphism allows a function or operator to perform different tasks depending on the types of the arguments or operands.
<h3>What does polymorphism helps?</h3>
Polymorphism is known to be that which helps its users to be able to carry out one action in a lot of ways that is many forms.
Note that Polymorphism allows a function or operator to perform different tasks depending on the types of the arguments or operands and thus makes one to work faster.
Learn more about Polymorphism from
brainly.com/question/20317264
#SJ1
Answer:
#include <iostream>
using namespace std;
int main()
{
int sum=0;//taking an integer variable to store the sum with initial value 0..
for(int i=1;i<=10;i++)//looping from 1 to 10..
{
sum+=i;//adding each i in the sum..
}
cout<<sum<<endl;//printing the sum..
return 0;
}
Explanation:
output :- 55
1.I have taken an integer variable sum which is equal to 0.
2.Looping over first ten positive integers.
3.Adding every number to sum.
4.Printing the sum.
Answer:
The answer is letter D.
Explanation:
It is unlikely that Jasper will be able to register the name "Yale Software," because it falsely suggests a connection to an institution.
C: Mount Holyoke Community College