Write a program to define a class called PDA and a classes called RADIO and
CALCULATOR .Let the PDA class contain RADIO class and the CALCULATOR Class. RADIO
must capable to get connected to the following stations say 1.Mumbai 2.Delhi
.In addition the program must throw the OutOfRangeFrequency exceptions whenever the object
user tries to connect other frequency channel. CALCULATOR must be capable to perform the
rudimentary calculations say addition , subtraction , multiplication ,division ,modular division and
square root. The program must be capable to throw the exceptions say DivideByZeroException and Negative Number Exception .Write driver class which can perform the following tasks :
1.Creation of TWO objects to PDA class
2. One object Connects to Mumbai
3.The other objects Performs division of two numbers
4.Find the Generation of objects.
i am new to c#, i need help in writing programs
CALCULATOR .Let the PDA class contain RADIO class and the CALCULATOR Class. RADIO
must capable to get connected to the following stations say 1.Mumbai 2.Delhi
.In addition the program must throw the OutOfRangeFrequency exceptions whenever the object
user tries to connect other frequency channel. CALCULATOR must be capable to perform the
rudimentary calculations say addition , subtraction , multiplication ,division ,modular division and
square root. The program must be capable to throw the exceptions say DivideByZeroException and Negative Number Exception .Write driver class which can perform the following tasks :
1.Creation of TWO objects to PDA class
2. One object Connects to Mumbai
3.The other objects Performs division of two numbers
4.Find the Generation of objects.
i am new to c#, i need help in writing programs