#include <iostream>
int main() {
// Declare and initialize a float variable
float floatVar = 3.14f;
// Declare and initialize a double variable
double doubleVar = 2.71828;
// Display the values of the float and double variables
std::cout << "Float Variable: " << floatVar << std::endl;
std::cout << "Double Variable: " << doubleVar << std::endl;
// Perform a simple arithmetic operation using the float variable
float resultFloat = floatVar * 2.0f;
// Perform a simple arithmetic operation using the double variable
double resultDouble = doubleVar * 2.0;
// Display the results of the arithmetic operations
std::cout << "Result of Float Operation: " << resultFloat << std::endl;
std::cout << "Result of Double Operation: " << resultDouble << std::endl;
return 0;
}