Computer Science, asked by 224003093, 1 month ago

Write a C++ program for the following specification: Create a class Fuzzy with two data members: x of type integer and memx of type float. memx should range from 0 to 1. Implement the operator overloading for the operators: & and . i. Operator function for & should return the Fuzzy object with minimum memx after checking the equality of data member x in both objects. Sample Data: f1= (10 0.5) f2= (10 0.2) f1&f2= (10 0.2) ii. Operator function for n should return the Fuzzy object with 1-memx. Sample Data: f2=(10 0.2) f2=(10 0.8) Implement the appropriate member functions to get the input and print the output. Note: In & operator overloading if x is not equal then return fuzzy object (0 0)

Answers

Answered by Soumyadip768
1

Answer:

Journalise the following transactions: 2019 Dec. Dec. Dec. Dec. Dec. Dec. Dec. Dec. 1 Gaurav started business introducing capital in cash 2,00,000 and cheque 4,00,000 4 Purchased goods in cash.... 6 Sold goods against cheque. 7 Withdrawn for household expenses... 9 Advance given to M/s Lakshay Machines by cheque for purchase of machine.. 12 Furniture purchased from Furniture Mart against cheque. 15 18 Dec. Dec. 25 Paid to Kamal on account. Loan taken from Bank... 20 Purchased computer for donation against cheque. Interest paid on Bank Loan.

Similar questions