Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables Declaration and initialization
int no_gallon=16;
int dis=312;
// find the miles per gallon
double mile_gallon=dis/double(no_gallon);
// print the results
cout<<"number of gallons: "<<no_gallon<<endl;
cout<<"distance travel before refueling: "<<dis<<endl;
cout<<"miles per gallon is: "<<mile_gallon<<endl;
return 0;
}
Explanation:
Declare and initialize the number of gallon and distance travel without refueling. Calculate the miles per gallon by dividing distance with number of gallons.Then print the results.
Output:
number of gallons: 16
distance travel before refueling: 312
miles per gallon is: 19.5
Answer:
The answer to this question is given below in the explanation section
Explanation:
There are different form control. for example HTML form controls are:
- Text Input Controls.
- Checkboxes Controls.
- Radio Box Controls.
- Select Box Controls.
- File Select boxes.
- Hidden Controls.
- Clickable Buttons.
- Submit and Reset Button.
Variables used for output are associated with text input and label control on a form.
For example, if you want to show the name of the user that is stored in a variable <em>name</em>. Then you want to output the <em>name</em> on a form, for this, you need to associate this variable with label or text input control
Answer: To sort
Explanation: I double checked online
Answer:
A
Explanation:
When you are finding the difference in a code you are subtracting the bigger number from the smaller one. You wouldn't technically use " " when printing a number equation as it doesn't work.
An element refers to each piece of data that is stored within an array