Answer:
Explanation:
The following is written in C++ and asks the user for inputs in both miles/gallon and dollars/gallon and then calculates the gas cost for the requested mileages using the input values
#include <iostream>
#include <iomanip>
using namespace std;
int main () {
// distance in miles
float distance1 = 20.0, distance2 = 75.0, distance3 = 500.0;
float miles_gallon, dollars_gallon;
cout << "Enter cars miles/gallon: "; cin >> miles_gallon;
cout << "Enter cars dollars/gallon: "; cin >> dollars_gallon;
cout << "the gas cost for " << distance1 << " miles is " << fixed << setprecision(2) << (float) dollars_gallon * distance1 / miles_gallon << "$\n";
cout << "the gas cost for " << distance2 << " miles is " << fixed << setprecision(2) << (float) dollars_gallon * distance2 / miles_gallon << "$\n";
cout << "the gas cost for " << distance3 << " miles is " << fixed << setprecision(2) << (float) dollars_gallon * distance3 / miles_gallon << "$\n";
return 0;
}
Answer:
BEGIN
SET count = 1
WHILE count <= 12 THEN
INPUT length
perimeter = length * length
PRINT perimeter
END WHILE
END
Explanation:
You can also set count to 0 and in while loop use count < 12 to loop just 12 times just as above
Answer:
keep driving and prey that it doesn't melt the tape holding your gas tank up
Answer:
Check the explanation
Explanation:
There are certainly many ways through which we can access and share database. The different ways to share an access database are as follows:
1. By using Sharepoint site: To utilize the SharePoint you should have windows SharePoint services server enabled on your system. Sharepoint assists in making database accessing very convenient by using methods like linking to list and publishing a database.
2. By using database server: This technique split a database that the tables are stored on the network in which each user has a copy of an access database file. The database file comprises of tables which contain queries, reports, forms, and other database objects.
3. By using split database: This technique is utilized when a database server product or a SharePoint site is unavailable. The tables then gains access into one access file and everything goes to other access files.
4. Network Folder: In this technique database file is stored on a shared network device and users can use the file simultaneously.
Below is the table for necessary hardware and software:
Sharepoint database split Network
site server database Folder
Need for database server software?No Yes No No
Need for windows server? Yes No No No
Answer:
By using the function key to disable the mouse pad.
Explanation:
If the company notebook is performing mouse actions that are random causing the user to make a lot of typing corrections.The technician can solve this issue for the user by using the function key to disable the mouse pad.It can be done by pressing the fn(function key) + F7.This function key is only present on the notebook not on the PC keyboards.