Answer:
The program to this question can be given as follows:
Program:
//header file
#include <iostream> //defining header file
using namespace std;
//main
int main() //defining main method
{
string name; //defining main method
cout<<"enter name: "; //print message
getline(cin,name); //using getline method
cout<<"The name you inserted is: "<<name; //print value
return 0;
}
Output:
Please Enter Name: Brenda Clinton
The name you inserted is: Brenda Clinton
Explanation:
Firstly the header file is included in the above C++ program code, in the next line the main method is defined, inside this method the string variable is defined which takes value from user-ends.
- In the above specifies the getline method, which can be referred to as a standard library feature for reading an input stream string or a line. It removes characters from the input stream and applies this to the string object until the character is delimited.
- After taking input the print method "cout" is used to print "name" variable value.
Answer:
area = 2.14 * 3 ** 2
Explanation:
No clue what language you use but this should be pretty universal. To find the area of a circle you use pi(r) ^ 2 or pi times radius squared

In python it looks like this:
>>> area = 3.14 * 3 ** 2
>>> print(area)
28.26<em> <Printed text</em>
Answer:
Step by step explanation along with code and output is provided below
Explanation:
#include<iostream>
using namespace std;
// print_seconds function that takes three input arguments hours, mints, and seconds. There are 60*60=3600 seconds in one hour and 60 seconds in a minute. Total seconds will be addition of these three
void print_seconds(int hours, int mints, int seconds)
{
int total_seconds= hours*3600 + mints*60 + seconds;
cout<<"Total seconds are: "<<total_seconds<<endl;
}
// test code
// user inputs hours, minutes and seconds and can also leave any of them by entering 0 that will not effect the program. Then function print_seconds is called to calculate and print the total seconds.
int main()
{
int h,m,s;
cout<<"enter hours if any or enter 0"<<endl;
cin>>h;
cout<<"enter mints if any or enter 0"<<endl;
cin>>m;
cout<<"enter seconds if any or enter 0"<<endl;
cin>>s;
print_seconds(h,m,s);
return 0;
}
Output:
enter hours if any or enter 0
2
enter mints if any or enter 0
25
enter seconds if any or enter 0
10
Total seconds are: 8710
Answer:Start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.
Indent when you are enclosing instructions within a loop or a conditional clause Avoid words associated with a certain kind of computer language.
Explanation:
Hmmm...that is true
Here a quizlet about if you need it!
https://quizlet.com/15207805/csci-241-flash-cards/