C++ Programming
1. write a program in C++ to accept two number and find there sum and average using input function. #include <iostream> int main () { double num1, num2; // Accept two numbers from the user std::cout << "Enter the first number: " ; std::cin >> num1; std::cout << "Enter the second number: " ; std::cin >> num2; // Calculate the sum double sum = num1 + num2; // Calculate the average double average = sum / 2 ; // Display the results std::cout ...