Answer:
Following are the code in c language
#include <stdio.h> // header file
int main() // main function
{
int n1,i;
float avg,x,s=0; // variable declaration
printf("\nEnter How many Number terms you want:");
scanf("%d",&n1); // input terms by user
for(i=0;i<n1;++i)
{
scanf("%f",&x); // user input
s= s +x; //calculate sum
}
avg = s/n1;// calculate average of n number
printf("\nThe average of n number is:");
printf("%f",avg); // display average
return 0;
}
Output
Enter How many Number terms you want:3
3
4
3
The average of n number is:3.333333
Answer:
The function code and the formula for the above question is listed below:
Explanation:
Function:
float typing_speed(int Number_of_words, int Time_in_seconds)
{
float time= Time_in_seconds/60;
float speed= Number_of_words/time;
return speed;
}
Formula for this algorithm or program:
Number of words per minute= number of words/ Time(in minutes).
Function Explanation
- The above function defined in the c-language code, which is used to return the typing speed for any user when he enters the number of words and the time in seconds.
- The speed is calculated with the help of the above-defined formula.
- The first statement of the code is used to change the time in a minute.
- The second statement of the code is used to calculate the speed by the help of speed formula.
- Then the third statement returns the value of the speed variable.
Heres some:
Quantum computing
Machine Learning
Medicine
Aeronautical Engineering (Drones, better transportation)
The professional choice of words for response is I wanted to help you protect my coworker’s privacy by letting you know I received this message intended for her.
Check more about writing below.
<h3>What is “Word Choice” in Writing? </h3>
'Word Choice” in writing is known to be a term that connote the ways or the usage of words that is said to be effective and precise use of language.
This is one that often conveys information and it also tends to enlighten the reader.
Note that option C is correct because it is best and most professional way to respond to a statement.
Hence, The professional choice of words for response is I wanted to help you protect my coworker’s privacy by letting you know I received this message intended for her.
Learn more about word choices from
brainly.com/question/1619714
#SPJ1