Answer:
<em>#include <iostream></em>
<em>using namespace std;</em>
<em>int main()</em>
<em>{</em>
<em> int myNewAge;</em>
<em> int myCurrentAge = 29;</em>
<em> int currentYear = 2020;</em>
<em> </em>
<em>myNewAge = myCurrentAge+(2050-currentYear);</em>
<em />
<em>cout<<"My Current Age is "<<myCurrentAge<<". I will be "<<myNewAge<<" in 2050"<<endl;</em>
<em> return 0;</em>
<em>}</em>
Explanation:
The program is written in C++ language as required. firstly, we declare the three variables:
<em> </em><em>int myNewAge;</em>
<em> int myCurrentAge = 29;</em>
<em> int currentYear = 2020;</em>
Then we calculate the new age as: <em>myNewAge = myCurrentAge+(2050-currentYear);</em>
Using multiple cout operators (<em> </em><<) we display the output nicely as required by the question with this statement
<em>cout<<"My Current Age is "<<myCurrentAge<<". I will be "<<myNewAge<<" in 2050"<<endl;</em>
Answer:
public static double average(int num1, int num2){
return (num1+num2)/2;
}
public static double average(int num1, int num2, int num3, int num4){
return (num1+num2+num3+num4)/2;
}
Explanation:
- In the first instance, the method average() accepts two parameters and returns their average
- In the second instance the method accepts four parameters and returns their average
- The concept of method overloading allows a program to have more than method with the the same name but with different parameters list like we find in this example
Using python knowledge and writing code importing pandas, it is possible to create a function that corresponds to what you want.
<h3>Writting in python:</h3>
<em>import pandas as pd</em>
<em>if __name__ == "__main__":</em>
<em> df=pd.read_csv('mtcars.csv')</em>
<em> cylinders=int(input())</em>
<em> print(df[df.cyl==cylinders].shape)</em>
See more about python at brainly.com/question/18502436
#SPJ1
Answer:
heyyy
your answer is false
HOPE IT HELPS YOU OUT PLEASE MARK IT AS BRAINLIEST AND FOLLOW ME PROMISE YOU TO FOLLOW BACK ON BRAINLY.IN
D. Large sets of information that can be analyzed for patterns and trends