// Do NOT use arrays!
#include "pt4.h"
void Swap(double* a, double *b){
double x = *a;
*a = *b;
*b = x;
}
void Solve()
{
Task("ZFunc31");
}
1) This code provides a helper function `Swap` to exchange the values of two double variables and a `Solve` function that currently does nothing. You need to complete `Solve` to solve a task without using arrays.
2) Hint 1: Think about how you can work with multiple variables without arrays - you'll need to declare individual variables for each input value.
Hint 2: Consider using the provided `Swap` function to rearrange values between your variables to achieve the required output.