Write a program by using a class with the following specifications: Class name : Profit_Loss Data members/instance variables : int cp, sp Methods: Profit_Loss() : default constructor to initialize cp, sp Void input (int a, int b) : to assign cp with a and sp with b Void display() : to calculate and display either profit percent or loss percent
Answers
Answered by
1
Answer:
Aśvaghoṣa or Ashvaghosha was a Sarvāstivāda Buddhist philosopher, dramatist, poet and orator from India. He was born in Saketa in northern India. He is believed to have been the first Sanskrit dramatist, and is considered the greatest Indian poet prior to Kālidāsa.
Similar questions
Math,
2 months ago
History,
2 months ago
Social Sciences,
2 months ago
Math,
6 months ago
Social Sciences,
11 months ago
India Languages,
11 months ago