Answer:
#include <iostream>
using namespace std;
int main() {
int num = 0, sum = 0;
do {
cin >> num;
if (num % 2 == 0) {
sum += num;
}
} while (num != 9999);
cout << "The sum of the even numbers is " << sum;
}
Answer:wall = int(input("Enter the length of the wall in square feet: "))
paint_price = float(input("Enter the price of an paint bucket: "))
def gallons(sqft):
return round(sqft/112, 2)
def labour():
return gallons(wall) * 8
def paint_cost():
return paint_price * gallons(wall)
def labour_charge():
return labour() * 52.00
def total():
return paint_cost() + labour_charge()
print(f"Number of Gallons of Paint Required: {gallons(wall)}")
print(f"The hours of lab required: {labour()}hours")
print(f"The cost of paint: ${paint_cost()}")
print(f"The labour charges: ${labour_charge()}")
print(f"The Total Cost of the Job: ${round(total(), 2)}")
Explanation:
The python program prompts the user for input of the length of a wall in square feet and the price of a gallon of paint. Five functions, gallons(), labour(), paint_cost(), labour_charge() and total() are used to calculate the total cost of the job based on the number of paint and the labour charges.
Answer
There are a lot of advantages of web based applications.
Explanation:
Below are the advantages:
- Web based applications can be accessed from device that is connected to the device.
- No physical software required to download, install, update or manage which saves a lot of administration work for large companies.
- Web based software is compatible with any device or platform. The software is delivered through a browser of the users' choice.
- Mobile device applications allow for access to the software when out of the office.
- Direct access to latest information for Employees where every they are located.
Apart from these, there are lot more benefits, like quick and easy updates, centralized data where data is secure and easy to backup. We can reach anybody, anywhere in the world.
Business costs are drastically reduced by spending less time talking to customers over the phone.
Online training can be finished at user's own time and risk.
It's available 24 hours a day, 7 days a week
The software is always up-to-date
Answer: Twisted pair cabling in the shielded form can be used for the mentioned situation in the question
Explanation: Twisted pair cables in shielded form are easy to make a connection .It does not create lot of noise and has reduced cross talk .It is a low weighted cable and so it can be easily attached with the ceiling tile.
The maintenance of the complete cabling is not a issue and interference is also low that fulfills the requirement of disruption-less network signal.The overall costing of the cable is also less .Thus shielded twisted pair cable are the most appropriate cable for the mentioned situation.