Write C Program Declaring Initializing Two Variables Values 8 2 Declared Use Function Calc Q37061329

Write a c++ program declaring and initializing two variables with the values 8 and 2. Once declared, use a function to calculWrite 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 global variables. NOTE: Globally declare your variables!!! Show transcribed image text Write a c++ program declaring and initializing two variables with the values 8 and 2. Once

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.