Business : asked on arias58
 19.02.2020

What is your name and how old are you?

. 4

Faq

Mathematics
Step-by-step answer
P Answered by Specialist

Answer:

B. The narrator's cousin holds on to the name of an old friend

Step-by-step explanation:

The major message or central idea that the narrator intends to get across while telling a story is referred to as the theme. 

The subject of the story is cherishing and keeping memories for all time. This is demonstrated when the narrator's cousin remembers the name of an old friend.

Thus, the correct option is :

B. The narrator's cousin holds on to the name of an old friend

Computers and Technology
Step-by-step answer
P Answered by Specialist

The answer to the question is explained below

Explanation:

#include <stdlib.h>

#include <stdio.h>

#define MAXNUM 100

typedef struct person

{

int age;

double height;

}

person;

int getData(person people[], int max)

{

printf("Enter your age(or -1 to quit):");

int n = 0;

scanf("%d", &people[n].age);

while (people[n].age>0)

{

   if(n == MAXNUM)

   {

     printf("You have reached the maximum limit");

     return n;

   }

   printf("Enter your height:");

scanf("%lf", &people[n++].height);

printf("Enter your age(or -1 to quit):");

scanf("%d", &people[n].age);

}

    return n;

}

void getAverages(person people[], double *averageAge, double * averageHeight, double *averageRatio, int numPeople)

{

*averageAge = 0;

*averageHeight = 0;

for(int i = 0; i <numPeople; i++)

{

   *averageAge += people[i].age;

   *averageHeight += people[i].height;

}

   *averageAge /= numPeople;

   *averageHeight /= numPeople;

   *averageRatio = *averageAge / *averageHeight;    

}

void printAverages(double averageAge, double averageHeight, double averageRatio)

{

int age;

double height;

printf("Result:\n");

printf("Average age is %.2lf\n", averageAge);

printf("Average height is %.2lf\n", averageHeight);

printf("The average age/height ratio is %.2lf\n", averageRatio);  

}

void main(void)

{

person people[MAXNUM];

int numPeople;

double averageAge, averageHeight, averageRatio;

numPeople = getData(people, MAXNUM);

if (numPeople == 0);

getAverages(people, &averageAge, &averageHeight, &averageRatio, numPeople);

printAverages(averageAge, averageHeight, averageRatio);

}

Computers and Technology
Step-by-step answer
P Answered by Master

The answer to the question is explained below

Explanation:

#include <stdlib.h>

#include <stdio.h>

#define MAXNUM 100

typedef struct person

{

int age;

double height;

}

person;

int getData(person people[], int max)

{

printf("Enter your age(or -1 to quit):");

int n = 0;

scanf("%d", &people[n].age);

while (people[n].age>0)

{

   if(n == MAXNUM)

   {

     printf("You have reached the maximum limit");

     return n;

   }

   printf("Enter your height:");

scanf("%lf", &people[n++].height);

printf("Enter your age(or -1 to quit):");

scanf("%d", &people[n].age);

}

    return n;

}

void getAverages(person people[], double *averageAge, double * averageHeight, double *averageRatio, int numPeople)

{

*averageAge = 0;

*averageHeight = 0;

for(int i = 0; i <numPeople; i++)

{

   *averageAge += people[i].age;

   *averageHeight += people[i].height;

}

   *averageAge /= numPeople;

   *averageHeight /= numPeople;

   *averageRatio = *averageAge / *averageHeight;    

}

void printAverages(double averageAge, double averageHeight, double averageRatio)

{

int age;

double height;

printf("Result:\n");

printf("Average age is %.2lf\n", averageAge);

printf("Average height is %.2lf\n", averageHeight);

printf("The average age/height ratio is %.2lf\n", averageRatio);  

}

void main(void)

{

person people[MAXNUM];

int numPeople;

double averageAge, averageHeight, averageRatio;

numPeople = getData(people, MAXNUM);

if (numPeople == 0);

getAverages(people, &averageAge, &averageHeight, &averageRatio, numPeople);

printAverages(averageAge, averageHeight, averageRatio);

}

Computers and Technology
Step-by-step answer
P Answered by PhD

In python, date and time seem to be not its type of data, but the date and time named module can be imported for it to work with the time and date. So, the program and its description can be defined as follows:

Program Explanation:

Importing "datetime" package.Defining two-variable "name, age" in which we input value from user-end.Defining another variable "year" that holds current year value.In the next step, the print method has used that prints the user name with the born year.

Program:

import datetime#import package datetime

name = input("What is your name? ")#defining a variable name that uses an inputs method to input string value

age = int(input("How old are you? "))#defining a variable age that uses an inputs method with the int to input value

year = datetime.datetime.now().year#defining a variable year that takes current value in it

print("Hello " + name + " you were born in " + str((year - age)))#defining a print method that print name value with born year

Output:

Please find the attached file.

Learn more:

link  

Computers and Technology
Step-by-step answer
P Answered by PhD

In python, date and time seem to be not its type of data, but the date and time named module can be imported for it to work with the time and date. So, the program and its description can be defined as follows:

Program Explanation:

Importing "datetime" package.Defining two-variable "name, age" in which we input value from user-end.Defining another variable "year" that holds current year value.In the next step, the print method has used that prints the user name with the born year.

Program:

import datetime#import package datetime

name = input("What is your name? ")#defining a variable name that uses an inputs method to input string value

age = int(input("How old are you? "))#defining a variable age that uses an inputs method with the int to input value

year = datetime.datetime.now().year#defining a variable year that takes current value in it

print("Hello " + name + " you were born in " + str((year - age)))#defining a print method that print name value with born year

Output:

Please find the attached file.

Learn more:

link  

English
Step-by-step answer
P Answered by PhD

c The longhorns had been skittish, but Johnny Chillers—who was named for the old Chillers trail—sang to them whenever they started to spook to calm them down.

Explanation:

The best revision that corrects Sam's error in the use of dashes to set off a clause is option C because it correctly separates the group of words which indicates a pause to emphasize that what Johnny Chillers was named after.

An em dash is used to show a pause and are also used to separate groups of words and their usage can be interchanged with commas or hyphens.

History
Step-by-step answer
P Answered by PhD

1. As part of the FDA, the Center for Drug Evaluation and Research (CDER) applies several internal procedures to evaluate the possibility of a brand name before its marketing to avoid medication errors attributed to different items having the same name and by doing so, guarantee the safe use of drugs.

Explanation:

2. They did it because it's mandated by the FDA, and the possibility of a full product recall would be much more costly than rebranding the product.

3. The company had to pay for the rebranding process, but avoided a more costly recalls pocess. They provably learned how important it´s to have a regulatory counsel involved in the branding activities.

Try asking the Studen AI a question.

It will provide an instant answer!

FREE