Computer Science, asked by krishnakamra6938, 6 hours ago

Use inputfunction to Input name,years of service, and basic salary of an employee. Calculate the total salary of the employee asper the given condition:•If years of service is more than 20 then a bonus of 5% of the basic salary is given.•If the years of service is less than 20 then the message, " You are not entitled for bonus" should be displayed.•Display the name, years of service, bonus received, total salary with bonus in the output.Note: total salary= basic salary + bonus

Answers

Answered by chinmaymehraviiif
0

Answer:

Assertion(A):- If you want to make an Artificially Intelligent system which can predict the salary of any employee based on his previous salaries, you would feed the data of his previous salaries into the machine. This is the data with which the machine can be trained. Now, once it is ready, it will predict his next salary efficiently. The previous salary data here is known as Training Data while the next salary prediction data set is known as the Testing Data. For better efficiency of an AI project, the Training data needs to be relevant and authentic.

Reason(R):- In above example, if the training data was not of the previous salaries but of his expenses, the machine will predict his next salary correctly since his salary depend on expenses.

a) Both (A) and (R) are correct and (R) is the correct explanation

b) Both (A) and (R) are correct and (R) is the not correct explanation

c) Both (A) is correct but (R) is not correct

d) Both (A) is not correct but (R) is correct

Explanation:

please mark me as brainliest

Similar questions