Explanation:
#include <iostream.h>
#include <conio.h>
#include <math.h>
main ()
{
int x;
double sum, fact;
char ans;
do
{
cout << "Please enter the value x: ";
cin >> x;
cout << endl;
sum = fact = 1;
for (int n=1; n<=100; n++)
{
for (int i=0; i<n; i++)
{
fact = n*fact;
}
sum += (pow(x,n)/fact);
cout <<"n = "<<n<<" and sum = "<< sum << " and
exp("<<x<<") = "<<exp(x)<<endl;
}
cout << endl;
cout << "Do you want to calculate this again? (y/n): ";
cin >> ans;
} while (ans == 'y' || ans == 'Y');
getch ();
}
Answer:
Python Code
Explanation:
total = 0.0
change = 0.0
itemone = float(input("Enter the first price: "))
itemtwo = float(input("Enter the second price: "))
itemthree = float(input("Enter the third price: "))
total = itemone + itemtwo + itemthree
print("Total:", total)
cash = float(input("Cash given: "))
change = total - cash
print("Your change:", change)
Answer: civil engineer
Explanation:
Based on the information given, the type of engineer that would be identified as essential to the success of the project would be the civil engineer.
Civil engineers are the engineers that are in charge of the planning and overseeing building and infrastructure construction. They plan and monitor constructions involving bridges, road, houses, power plants etc.
Answer: Type the name of the database and select where to locate it.
Explanation: