WAP to add and subtract 2 numbers

WAP to add and subtract 2 numbers in c++ Add and Subtract using a function in c++ Output: Enter two numbers:43Sum: 7Sub: 1

WAP that uses structure to read employee records

Write a program that uses structure to read employee is, name, age and salary. Sort them on the basis salary in data followed order. The program should display unsorted data followed by sorted data. Output

WAP to add two lengths in feet inch using a structure

Write a program to add two lengths in feet inch using a structure Output 1st distanceEnter feet: 5Enter inch: 52nd distanceEnter feet: 5Enter inch: 6Sum of distance = 10′-11.0″