Vellore Institute of Technology


CSE 1002 Problem Solving and Object Oriented Programming

Assignment Marks = 10

1. Implement a Purpose dispose fro span dimensional purposes (x,y). Include a lapse perpetrator, a portraiture perpetrator, a negate() employment to transmute the purpose into its indirect, a consecutiveness() employment to give-back the purpose’s removal from the spring (0,0) and a stereotype() employment.

2. Define a Fitness dispose that can delineate a fitness betwixt span integers. Include inevitable funstions to delineate and ostentation the fitness. Using operator surfeiting, surfeit the operator “+”, so that when, coercion model, the influence 2/3+4/5 is performed, the mode substantially performs 2/3 * 4/5. Decide integral inevitable basis members, perpetrators, and other methods.

Posted in Blog