Answer:
It goes like:
______________________________
#taking inpit for n numbers user wanna enter and save it in a variable n,
n=int(input("Enter the no. of no you want to enter: ")
#While loop after initialising a varaible to make suure the loop runs specific number of times
a=0
sum=0
while a>n:
b=int(input("Enter the number: "))
sum+= a
# printing the sum and average after rounding sum/n upto 2 digits after decimal.
print("sum:", sum, "/naverage:", round(sum/n,2) )
______________________________
Answer:
C.
Developing free assistive technology products and services
In Computer programming, there are four (4) common data types and these include:
- Integer type (int):
- Floating point type (float)
- Boolean (bool)
- String (str)
<h3>The kinds of data type.</h3>
In Computer programming, there are four (4) common data types and these include:
- <u>Integer type (int):</u> it is used for storing whole numbers such as 1, 2, 3, 4, ..... 2,147,483,647.
- <u>Floating point type (float):</u> it is used for defining real numbers that have a decimal point such as 0.009, 9.87, 5.6, etc.
- <u>Boolean (bool):</u> it allow users to combine keywords with Boolean operators (quotes, AND, OR, near/n) as either true or false.
- <u>String (str):</u> it is used for data values that are made up of ordered sequences of characters.
Read more on a data types here: brainly.com/question/25619349
Answer and Explanation:
Using Javascript:
Class Dog{
var healthScores=[];
Constructor(name, age, ...healthScores) {this.name=name;
this.age=age;
this.healthsScores=healthScores;
}
checkObject(new Dog){
If(new Dog.name===this.name,new Dog.age===this.age, new Dog.healthScores===this.healthScores){return true;
}
else{
console.log("objects are not equal");
}
}
}
To call the method checkObject:
var Tesa = new Dog(Tes,1,[45,46,82]);
var Bingo = new Dog(bing,2,[43,46,82]);
Bingo.checkObject(Tesa);
Note: we have used ES6(latest version of Javascript) where we passed the healthScore parameter(which is an array) to our constructor using the spread operator.