1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Furkat [3]
4 years ago
11

Write a function named get_my_age that returns your age as an int (this is YOUR age, so if you were 21 you would return the numb

er 21). Note that this function takes no arguments and no input from the user. Call the function once and print the result. Reflect on the difference between creating a variable with a constant value and creating a function with no arguments that returns a constant return value.
Computers and Technology
1 answer:
d1i1m1o1n [39]4 years ago
5 0

Answer:

<em>The programming language is not stated; However, I'll answer this question using 2 programming languages (Python and C++)</em>

<em></em>

<em>Comments are used for explanatory purpose </em>

Python program starts here

def get_my_age():  #Declare function

      age = 21  #Assign value to age

      print(age)  #Print age

get_my_age() #Call function

#End of Program

C++ Programming Language starts here

#include<iostream>

using namespace std;

int get_my_age() //Declare Function

{

int age = 21; //Assign value to age

cout<<age; //Print age

}

int main()

{

get_my_age(); //Call Function

return 0;

}

You might be interested in
What is the gauge manifold made of
zzz [600]
I think it is.. the low side handwheel is made of blue plastic or occasionally has a blue decal in its center  then the high side handwheel is made of red plastic or occasionally has a red decal gauges used with a refrigeration gauge manifold are either analog which resemble other pressure gauges or perhaps digital.... i hope this helps :)
5 0
3 years ago
What nondestructive testing method requires little or no part preparation, is used to detect surface or near-surface defects in
drek231 [11]

Answer:

Eddy current inspection

Explanation:

According to my research on nondestructive testing methods, I can say that based on the information provided within the question the method being described is called Eddy current inspection. This is a method that uses electromagnetic induction to detect and characterize surface and sub-surface flaws in conductive materials

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

5 0
3 years ago
4.15 LAB: Password modifier
Black_prince [1.1K]

I've included my code in the picture below. Best of luck.

3 0
3 years ago
The percentage of typical calls that would reach a respondent eligible to participate in a project is called the
Anna35 [415]

The percentage of the calls that would reach a respondent eligible to participate in a project is called the Response rate (survey) .

<h3>What is Response rate (survey)?</h3>

In survey research, the response rate is called the return rate as it is said to be the number of people who are said to have answered the survey divided by the total number of population.

Note that The percentage of the calls that would reach a respondent eligible to participate in a project is called the Response rate (survey) .

Learn more about project from

brainly.com/question/25009327

#SPJ1

3 0
2 years ago
Banks use _____, which are electronic transmissions of account exchange information over private communications’ networks.
faltersainse [42]

Answer:

Wire transfer

Explanation:

Wire Transfer also known as remittance under the U.S. law is the electronic transfer of money which is carried out across a network that is run by several banks and money transfer agencies around the globe. With Wire Transfer, people at different parts of the Word can securely send money to individuals at other financial institution in any part of the world.

The following are important points to note about wire transfers:

1. It is an electronic transfer of funds across a network of banks and money transfer agencies around the world.

2. The individual or senders pays a transaction fee at their banks and must provide the receivers details including bank name and account number.

3. Wire transfers can take up to two working days to complete

4. The Office of Foreign Assets monitors and controls international wire payments, to prevent money laudering and funding of illegal activities like terrorism

7 0
3 years ago
Other questions:
  • What are personal skills? A manner of individual style How a person manages and expresses oneself One's ability to excel at spor
    13·2 answers
  • Application partitioning gives developers the opportunity to write application code that can later be placed on either a client
    7·1 answer
  • What are the first two lines of defense a company should take when addressing security risks?
    10·1 answer
  • The database must be carefully planned to allow useful data manipulation and report generation.
    10·1 answer
  • I need help with workplace safety systems please help
    10·1 answer
  • Advanced Electronics has employees who use a company website to share work. By posting on the website, employees are
    7·1 answer
  • Lin wants to play an online game with her friends. She read the description of the game and knows it contains several features w
    12·1 answer
  • 1. Write an if statement that assigns 20 to the variable y, and assigns 40 to the variable z
    10·1 answer
  • What is computer give definition ​
    14·2 answers
  • Each high-level language has its own __________, or rules of the language. group of answer choices
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!