CvLTAELG1AAv7GMjp8RSaPGsvS8 CS201-Old Assignments |
Sunday , 21 October 2018
You are here: Home - CS201 - CS201-Old Assignments

## CS201 Assignments # 5 Solution Spring 2012

Problem Statement:     Customer Bill Information      Write a program that takes customer’s information from user i.e. name, ID and spending and displays the same customer information plus total bill on the screen. You will use the same Customer class implemented in Assignment#3. You need to overload stream insertion << and stream extraction >> operators for the Customer class. Detailed ... Read More »

## CS201 Assignments # 4 Solution Spring 2012

Problem Statement: Location Calculation You are required to write a program for calculating location somewhere on the map. There are two parameters (coordinates) used in calculating a location. One is longitude and the other is latitude. You need to overload ++, –, new and delete operators for this. Detailed Description:  You are required to create a class named Location. ... Read More »

## CS201 Assignments # 3 Solution Spring 2012

Problem Statement:     Calculating customer’s bill using classes      You are required to write a program for calculating the bill of a customer according to the amount spent on shopping. A customer will be an object of a class. Each object has a name, customer ID and amount spent on shopping, as its data members. You will calculate the total ... Read More »

## CS201 Assignments # 2 Solution Spring 2012

Problem Statement: Temperature Calculation system Write a program that displays average, highest and lowest temperatures. Detailed Description: • The program will take temperature readings as input from user for specified number of consecutive days. • Program will store these temperature values into an array. • Then it will pass this array to three different functions. • One function will return ... Read More »

## CS201 Assignments # 1 Solution Spring 2012

Assignment Problem Statement: Challan Calculator for Traffic Violation You are required to write a program for calculating challan for traffic violations. The basic idea is that user will enter the type of violation and number of days passed till date of challan. The challan calculator will calculate the challan based upon the type of violation and number of days. Detailed ... Read More »