Answer:
The program is as follows:
10 INPUT RADIUS, BASE, HEIGHT
20 CIRCLE = 3.142* RADIUS * RADIUS
30 TRIANGLE = 0.5* BASE * HEIGHT
40 PRINT CIRCLE
50 PRINT TRIANGLE
60 STOP
Explanation:
The program description doesn't tally;
In other words, it is impossible to calculate the area of a triangle using the radius of a circle.
So, I designed the program to get input for radius, base and height.
Get input for radius, base and height
10 INPUT RADIUS, BASE, HEIGHT
Calculate area of circle
20 CIRCLE = 3.142* RADIUS * RADIUS
Calculate area of triangle
30 TRIANGLE = 0.5* BASE * HEIGHT
Print area of circle
40 PRINT CIRCLE
Print area of triangle
50 PRINT TRIANGLE
End of program
60 STOP
Answer:
Whenever you use your mobile phone to make a call, it emits electromagnetic radio waves also known as radio frequency or RF energy. Once the radio waves are emitted, the antenna from the nearest cell phone tower will receive them. The antennas of a cell tower can both transmit and receive signals from mobile phones.
Answer:
The method definition to this question as follows:
Method definition:
bool containsVowel (string s1) //define method.
{
bool value=false; //define bool variable and assign value.
//check conditions.
if (s1.length()==0) //if block
{
return false; //return value
}
else if (s1[0]=='a'||s1[0]=='e'||s1[0]=='u'||s1[0]=='o'||s1[0]=='i'||s1[0]=='A'||s1[0]=='E'||s1[0]=='U'||s1[0]=='O'||s1[0]=='I') //else if block
{
value=true; //return value.
}
else //else block
{
value = containsVowel(s1.substr(1,s1.length()-1));//calculate value
return value; //return value.
}
}
Explanation:
In the above code, we define a bool method that is "containsVowel" in this method we pass the string variable that is "s1". Inside a method, we define a bool variable that is "value" and conditional statement that checks in the passed value there is a vowel or not.
- In if block, we check that pass variable value length is equal to 0. if this condition is true it will return a false value.
- Then we use else if block in this block we check that if value first letter is vowel to check this condition we use OR logical operator. if this condition is true it will change the variable value that is "true".
- In the else block we use the value variable that uses the function to check that in passed value there is a vowel if this is true it returns its value.
You need to see an image, but here's some possible answers.
operating system.
program.
spreadsheet.
freeware.
groupware.
shareware.
application software.
bundled software.
software system. ...
package. ...
sofware (related) ...
hardware (related) ...
software program. ...
software-hardware (related) ...
pc-based (related)
<h2><u><em>
Bryannasalaz</em></u></h2>
Answer:
They can be health educators in family because they are your parents.
Explanation:
The reason why is because since they are your parents that means they have kids, so they probably know the ins and outs of parenting and running a family.