1. Write A Program to accept two numbers as instance variables . Use the following functions : class name - calculate void inputdata()-- to input both the numbers void calculate() - to find the sum and difference void outputdata() - to print the sum and difference of both the numbers. Use a main method to call the functions.
Answers
Answered by
2
Answer:
Step by Step Experience
Similar questions