Exercise: Arithmetic Operators
Exercise: Arithmetic Operators WAP to input two numbers and find sum. Solution: WAP to input two numbers and find multiplication. Solution: WAP to input number and calculate its square and cube. Solution: WAP to input length and breadth of a rectangle and calculate its area. Area=Length*Breadth. Solution: WAP to input radius and calculate area of circle and circumference of a circle. Area of circle = 3.14*r*r, Circumference of circle = 2*3.14*r Solution: WAP to input radius and height of a cylinder and calculate volume of cylinder. Volume=3.14*r*r*h Solution: WAP to input principal, rate, time and calculate Simple Interest. Simple Interest=Principal*Rate*Time/100. Solution: WAP to Input 5 subject marks of a student and find total marks and percentage obtained by the student. Solution: WAP to convert temperature from Fahrenheit to Celsius. C=(F-32)*5/9. Solution: W...