Answer:
B - E-Mail
Explanation:
This is a program to create, send, receive, forward, store, print, and delete e-mail messages.
Answer:
This program is executed in Dev C++ using C++ as a programming language.
Explanation:
#include<iostream>
using namespace std;
int main()
{
int carModelNo;
cout<<"Enter Car Model Number ";
cin>>carModelNo;
EnterAgain:
if(carModelNo==1969)
{
cout<<"Few safety features.";
}
else if(carModelNo==1979)
{
cout<<"Probably has seat belts.";
}
else if(carModelNo==1999)
{
cout<<"Probably has antilock brakes.";
}
else if(carModelNo==2000)
{
cout<<"Probably has airbags.";
}
else
{
"Car Model Information Currently not Available";
cout<<"Please enter the car model such as 1969, 1979, 1999, or 2000 ";
cin>>carModelNo;
goto EnterAgain;
}
return 0;
}
Answer:
You should not run for the bus. You could slip on the ice and fall
Would you stop telling me what you can't do
Could you not eat with your mouth open
You should not submit an incomplete report
Answer:
if (pH<7.0){
neutral=0;
base=0;
acid=1;
}
else if (pH>7.0){
neutral=0;
base=1;
acid=0;
}
else if (pH==7.0){
neutral=1;
base=0;
acid=0;
}
Explanation:
As required by the question, if and else statements have been used to test the value of the pH and assign the apropriate values to the variables neutral, base and acid.
The code snippet below can be used to prompt the user to enter values for pH
<em>import java.util.Scanner;</em>
<em>public class pHTest {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner scr = new Scanner(System.in);</em>
<em> System.out.println("Enter a value for the pH");</em>
<em> int neutral, base, acid;</em>
<em> double pH = scr.nextDouble();</em>
<em> if (pH<7.0){</em>
<em> neutral=0;</em>
<em> base=0;</em>
<em> acid=1;</em>
<em> }</em>
<em> else if (pH>7.0){</em>
<em> neutral=0;</em>
<em> base=1;</em>
<em> acid=0;</em>
<em> }</em>
<em> else if (pH==7.0){</em>
<em> neutral=1;</em>
<em> base=0;</em>
<em> acid=0;</em>
<em> }</em>
<em>} }</em>