www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# CS201 Assignment 01 Fall 2020 Solution / Discussion

CS201 Assignment 01 Fall 2020 Solution / Discussion

Views: 1528

# CS201 Assignment 1 Solution 2020 | CS201 assignment no 1 solution fall 2020

CS201 Assignment 1 Solution 2020, CS201 assignment no 1 solution fall 2020, CS201, CS201Assignment1, CS201AssignmentSolution, CS201SolvedAssignment, CS201Assignment1Solution2020, CS201Assignment1fall2020, CS201AssignmentSolution, CS201Programming, CS201AssignmentNo1, CS201Assignment1Solution2020, CS201Solution CS201Assignment1Solution2020 CS201SolutionLink CS201Assignment1Solution2020 CS201DownloadLink CS201AssignmentPDF CS201AssignmentCPP CS201Assignment1Solution2020 CS201AssignmentSolutionCPP CS201CPPFile CS201Assignment CS201Assignment1Solution2020 CS201AssignmentDownload CS201Solve CS201Assignment1Solution2020 CS201Assignment1 CS201Assignment1Solution2020 CS201 Assignment 1 Solution 2020 CS201 Assignment 1 Solution 2020 CS201 Assignment 1 Solution 2020 CS201 Assignment 1 Solution 2020 CS201 Assignment 1 Solution 2020 CS201 Assignment 1 Solution 2020 CS201 Assignment 1 Solution 2020 CS201 Assignment 1 Solution 2020

cs201 assignment 1 solution 2020

cs201 assignment 1 solution 2020

#CS201 Assignment 1 IDEA SOL FALL 2020
#include<iostream>
using namespace std;
main()
{
long sal_level_a=125000, sal_level_b=80000, sal_level_c=45000;
int total_employees=10;
int welfare_fund=600;
int tax_level_a, total_tax_A, tax_level_b, total_tax_B, tax_level_c,total_tax_C, total_tax;
int option;
long Net_salary_A, Net_salary_B, Net_salary_C, total_pay;
// FUNDS
int total_fund=total_employees*welfare_fund;
long anual_salary_A=sal_level_a*12;
long anual_salary_B=sal_level_b*12;
long anual_salary_C=sal_level_c*12;
if(anual_salary_A>600000)
{
tax_level_a=sal_level_a*1/100;
}
total_tax_A=tax_level_a*2;
if(anual_salary_B>600000)
{
tax_level_b=sal_level_b*1/100;
}
total_tax_B=tax_level_b*3;
if(anual_salary_C>600000)
{
tax_level_c=sal_level_c*1/100;
}
total_tax_C=tax_level_c*5;
// TAX CALCULATION
total_tax=total_tax_A+total_tax_B+total_tax_C;
// NET SALARIES
Net_salary_A= sal_level_a - tax_level_a - welfare_fund;
Net_salary_B= sal_level_b - tax_level_b - welfare_fund;
Net_salary_C= sal_level_c - tax_level_c - welfare_fund;
//total_pay=(Net_salary_A*2)+(Net_salary_B*3)+(Net_salary_C*5);
total_pay=(sal_level_a*2)+(sal_level_b*3)+(sal_level_c*5);
cout"Total Monthly tax deduction of all employees : "total_tax;
cout"\nTotal amount of welfare fund collected : "total_fund;
cout"\nNet monthly salary of level A employees : "Net_salary_A;
cout"\nNet monthly salary of level B employees : "Net_salary_B;
cout"\nNet monthly salary of level C employees : "Net_salary_C;
cout"\nTotal amount paid by university after a month : "total_pay;
cout"\nEnter 1 to know the tax collection of level A employees";
cout"\nEnter 2 to know the tax collection of level B employees";
cout"\nEnter 3 to know the tax collection of level C employees"endl;
cin>>option;
if(option==1)
{
cout"Tax collection of level A employee is Rs. "total_tax_A;
}
else if(option==2)
{
cout"Tax collection of level B employee is Rs. "total_tax_B;
}
else if(option==3)
{
cout"Tax collection of level C employee is Rs. "total_tax_C;
}
}
Above mentioned cod run on DVE C++ then output CPP file submit if you found any mistake kindly correct own yourself

# CS 201 Assignment No-1 Solution Spring 2020 | Latest Assignment Solution November 2020 | VU Assign

Cs 201 latest assignment solutions spring November 2020

# CS 201 assignment 1 complete Solution with details

#CS201 Assignment 1 IDEA SOL FALL 2020
#include<iostream>
using namespace std;
main()
{
long sal_level_a=125000, sal_level_b=80000, sal_level_c=45000;
int total_employees=10;
int welfare_fund=600;
int tax_level_a, total_tax_A, tax_level_b, total_tax_B, tax_level_c,total_tax_C, total_tax;
int option;
long Net_salary_A, Net_salary_B, Net_salary_C, total_pay;
// FUNDS
int total_fund=total_employees*welfare_fund;
long anual_salary_A=sal_level_a*12;
long anual_salary_B=sal_level_b*12;
long anual_salary_C=sal_level_c*12;
if(anual_salary_A>600000)
{
tax_level_a=sal_level_a*1/100;
}
total_tax_A=tax_level_a*2;
if(anual_salary_B>600000)
{
tax_level_b=sal_level_b*1/100;
}
total_tax_B=tax_level_b*3;
if(anual_salary_C>600000)
{
tax_level_c=sal_level_c*1/100;
}
total_tax_C=tax_level_c*5;
// TAX CALCULATION
total_tax=total_tax_A+total_tax_B+total_tax_C;
// NET SALARIES
Net_salary_A= sal_level_a - tax_level_a - welfare_fund;
Net_salary_B= sal_level_b - tax_level_b - welfare_fund;
Net_salary_C= sal_level_c - tax_level_c - welfare_fund;
//total_pay=(Net_salary_A*2)+(Net_salary_B*3)+(Net_salary_C*5);
total_pay=(sal_level_a*2)+(sal_level_b*3)+(sal_level_c*5);
cout"Total Monthly tax deduction of all employees : "total_tax;
cout"\nTotal amount of welfare fund collected : "total_fund;
cout"\nNet monthly salary of level A employees : "Net_salary_A;
cout"\nNet monthly salary of level B employees : "Net_salary_B;
cout"\nNet monthly salary of level C employees : "Net_salary_C;
cout"\nTotal amount paid by university after a month : "total_pay;
cout"\nEnter 1 to know the tax collection of level A employees";
cout"\nEnter 2 to know the tax collection of level B employees";
cout"\nEnter 3 to know the tax collection of level C employees"endl;
cin>>option;
if(option==1)
{
cout"Tax collection of level A employee is Rs. "total_tax_A;
}
else if(option==2)
{
cout"Tax collection of level B employee is Rs. "total_tax_B;
}
else if(option==3)
{
cout"Tax collection of level C employee is Rs. "total_tax_C;
}
}
Above mentioned cod run on DVE C++ then output CPP file submit if you found any mistake kindly correct own yourself

By Usama Khalid Awan

### Fall 2020_CS201_1st assignment solution

Asslamulaikum!
Dear friends i have seen in many YouTube videos they uploaded Fall CS201 1st Assignment solution 2020 but i have seen one mistake in all those videos they didn't fulfill the last option of assignment where we should create a below option
If user inputs wrong number then a message will be shown: “incorrect input”.
but all solutions created on YouTube missed this point i have checked almost all videos regarding CS201 1st assignment that's why i have created a correct file for all of you.
Note: Always test your file with comparison of assignment file screenshot. Must change some things before submitting

# CS201 Introduction to Programming Assignment No 1 Solution 2020

CS201 Solution Assignment#01 Fall 2020

CS201-Assignment#01-Solution-Fall-2020

#cs201 #cs201Assignmentsolution #cs201Assignment1
CS201 Assignment 1 Solution Fall 2020 || CS201 Assignment

CS201 Assignment 1 Solution Fall 2020 || CS201 Assignment
#cs201
#cs201Assignmentsolution
#cs201Assignment1
#cs201Assignment1solution
#cs201Assignment1solutionfall2020App

1

2

3

4

5

## Latest Activity

1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" and +₳₥₥₳Ɽ₳ ₴₳฿łⱤ+ are now friends
2 hours ago
3 hours ago
3 hours ago
3 hours ago
3 hours ago
6 hours ago
9 hours ago