0% found this document useful (0 votes)
46 views5 pages

What Is Importance of Open Source Software

Open source software is software with source code that is publicly accessible, allowing anyone to modify and distribute it. This enables quicker improvements to problems the software aims to solve. While the software is free to use, only developers can truly understand and modify its code. Some important open source software includes LibreOffice, Brave browser, VLC media player, Thunderbird, Keepass, and Linux.

Uploaded by

ramanpreet8819
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views5 pages

What Is Importance of Open Source Software

Open source software is software with source code that is publicly accessible, allowing anyone to modify and distribute it. This enables quicker improvements to problems the software aims to solve. While the software is free to use, only developers can truly understand and modify its code. Some important open source software includes LibreOffice, Brave browser, VLC media player, Thunderbird, Keepass, and Linux.

Uploaded by

ramanpreet8819
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

 What is importance of open source software ?

Open source software is defined as a program, whose codes are available


publicly, enabling anyone to modify and use them, with the further
distribution. The majority of these software is actually geared towards solving a
problem. Making it accessible to the general public ensures quicker
improvement. It is imperative to understand that although the software is free to
use, only a software developer can truly understand and make further
modifications to the code. 
Open source software is software with source code that anyone can
inspect, modify, and enhance. "Source code" is the part of software that
most computer users don't ever see; it's the code computer programmers can
manipulate to change how a piece of software a "program" or "application"
works. Programmers who have access to a computer program's source code
can improve that program by adding features to it or fixing parts that don't
always work correctly. Open source software programmers can charge money
for the open source software they create or to which they contribute. But in
some cases, because an open source license might require them to release
their source code when they sell software to others, some programmers find
that charging users money for software services and support rather than for
the software itself is more lucrative. This way, their software remains free of
charge, and they make money by helping others install, use, and troubleshoot
it.

Some of the important open sources are:

1. Libre office
2. Brave browser
3. VLC media player
4. Thunderbird
5. Keepass
6. Linux

#include<iostream>

using namespace std;

void calculate(int watts, int months)


{

int hours = 24;

float bill1 = 0.0;

float bill2 = 0.0;

float units = watts*hours*(30*months)/(1000.0);

cout << "Total units consumed :" << units << endl;

cout << " " << endl;

cout << "Slab " << "Rate " << "Units " << "Charges " << endl;

cout << " " << endl;

if (units<=150.0)

bill1 = 5.50*units;

bill2 = bill2 + bill1;

cout << "0-150 " << "5.50 " << units << " "<< bill1 << endl;

cout << " " << endl;

else if (units>150.0 && units<=300.0)

bill1 = (5.50*150);

bill2 = bill2 + bill1;

cout << "0-150 " << "5.50 " << "150 " << bill1 << endl;

bill1 = (6.0*(units-150.0));

cout << "150-300 " << "6.0 " << units-150 << " " << bill1 <<
endl;
bill2 = bill2 + bill1;

cout << " " << endl;

else if(units>300.0 && units<=500.0)

bill1 = (5.50*150);

bill2 = bill2 + bill1;

cout << "0-150 " << "5.50 " << "150 " << bill1 << endl;

bill1 = (6.0*150);

bill2 = bill2 + bill1;

cout << "150-300 " << "6.0 " << "150 " << bill1 << endl;

bill1 = (6.50*(units-300.0));

bill2 = bill2 + bill1;

cout << "300-500 " << "6.50 " << units-300 << " " << bill1 <<
endl;

cout << " " << endl;

else if(units>500.0)

bill1 = (5.50*150);

bill2 = bill2 + bill1;

cout << "0-150 "<< "5.50 " << "150 " << bill1 << endl;

bill1 = (6.0*150);
bill2 = bill2 + bill1;

cout << "150-300 " << "6.0 " << "150 " << bill1 << endl;

bill1 = (6.50*200);

bill2 = bill2 + bill1;

cout << "300-500 " << "6.50 " << "200 " << bill1 << endl;

bill1 = (7.0*(units-500.0));

bill2 = bill2 + bill1;

cout << ">500 " << "7.0 " << units-500 << " " << bill1 << endl;

cout << " " << endl;

float fixed_charge = 110.0;

float regulatory_surcharge = 246.0;

float tax = 332.0;

cout << " " << endl;

cout << "Final Bill Generated" << endl;

cout << " " << endl;

cout << "Fixed Charges " << fixed_charge << endl;

cout << "Units Charges " << bill2 << endl;

cout << "Regulatory Surcharges " << regulatory_surcharge << endl;

cout << "Tax " << tax << endl;

bill2 = fixed_charge + bill2 + regulatory_surcharge + tax;

cout << "Total Bill " << bill2 << endl;


}

int main()

calculate(500, 3);

You might also like