Florida is 1,344.8 miles from oklahoma
Answer:
The full program is:
<em>num1 = int(input()) </em>
<em>num2 = int(input()) </em>
<em>print(num1 + num2)</em>
<em />
Explanation:
Given
<em>num1 = int(input()) </em>
<em>num2 = ?</em>
<em>print(num1 + ?)</em>
<em />
Required
Replace ? with the right codes
Line 1: The syntax is correct
Line 2: The ? should be replaced with an integer input function to get input for num2.
So, the second line would be: <em>num2 = int(input()) </em>
Line 3: The ? should be replaced with num2 in order to calculate and print the required sum.
So, the third line would be: <em>print(num1 + num2)</em>
<em />
<em>Keyboard -----> Input device</em>
<em>Printer --------> Output device</em>
<em>mouse ---------> Input device</em>
<em>Monitor --------> Output device</em>
<em>CD roam ------> Input device</em>
<em>Projector ------> Output device</em>
Answer:
#include<iostream>
using namespace std;
int main(){
int x1,x2,x3;
int y1,y2,y3;
cout<<"Enter the value of first point(x1,y1): ";
cin>>x1>>y1;
cout<<"\nEnter the value of second point(x2,y2): ";
cin>>x2>>y2;
cout<<"\nEnter the value of third point(x3,y3): ";
cin>>x3>>y3;
}
Explanation:
first include the library iostream for use the input/output commands
then, write the main function. within the main function declare the variable which store the value of points.
after that, use the 'cout' for output. It has the function which print the value or message on the screen.
and 'cin' is used to store the value in the variable.
So, in the above code cout ask for enter the value of point and after enter value by user, cin store in the variables.
Note: you have to enter two value with space or by enter.
Answer:
Voice refers to the form of a verb that indicates when a grammatical subject performs the action or is the receiver of the action. When a sentence is written in the active voice, the subject performs the action; in the passive voice, the subject receives the action.