#include <stdio.h>
int main(void)
{
int success = 0;
double val;
{
return (0);
}
{
success++;
printf("Successfully set DAC voltage value\n");
}
{
success++;
printf("Successfully get DAC voltage value\n");
}
if (val == 1.0)
{
success++;
}
return ((success == 3) ? 0 : -1);
}