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.
lst=([])
def avgGPA(lst1):
total = 0
count = 0
for x in lst:
if type(x) == int:
total += x
count += 1
return total/count
def GPAcalc(grade, weighted):
grade = grade.lower()
dictionary = {"a": 4, "b": 3, "c": 2, "d": 1, "f": 0}
if weighted == 1 and grade in dictionary:
lst.append(dictionary[grade]+1)
return "Your GPA score is: " + str(dictionary[grade] + 1)
elif weighted == 0 and grade in dictionary:
lst.append(dictionary[grade])
return "Your GPA score is: " + str(dictionary[grade])
else:
lst.append("Invalid")
return "Invalid"
classes = int(input("How many Classes are you taking? "))
i = 0
while i < classes:
print(GPAcalc(input("Enter your Letter Grade: "), int(input("Is it weighted? (1 = yes) "))))
i += 1
print("Your weighted GPA is a "+str(avgGPA(lst)))
If you need me to change any code, I'll do my best. I hope this helps!
Vital signs monitors, Electronic Medical Records (EMR), and Medication Management Systems.
Answer:
Please find attached the diagram of the different thrust of the spaceship created with Microsoft Visio with the numbers representing the following situations
(1) Thrust is less than weight. The spaceship does not launch
(2) Thrust is just a little greater than weight. The net force gives the spacecraft acceleration up, but not enough to gain the speed needed to reach orbit
(3) Thrust is greater than weight. The net force gives the spacecraft acceleration up. It gains enough speed to "fall around" Earth, constantly moving in a nearly circular path
(4) Thrust is a lot greater than weight. The very large net force gives the spacecraft a very large acceleration up. It gains so much speed that it escapes Earth
Explanation:
1) The thrust F < Weight = Mass of spacecraft, m × The acceleration due to gravity, g
F < W = m × g, the spacecraft remains on the Earth surface
2) The thrust, F > W, The space craft has an initial upwards acceleration, given by (F - W)/m

3) F > W and 
4) F > W and 
Answer:
Proprietary
Explanation:
Free and Open source is available for anyone to do modifications.