Write a c++ program declaring and initializing two variables with the values 8 and 2. Once declared, use a function to calculate and output the sum and product of the two values. Make sure you label your outputted values. Use a function to accomplish this. Declare your variable as local variables. NOTE: Locally declare your variables in the main function!!! HINT: Variables must be passed to called function. Show transcribed image text Write a c++ program
OR
OR