diff --git a/azure-pipelines-2.yml b/azure-pipelines-2.yml new file mode 100644 index 0000000..47690db --- /dev/null +++ b/azure-pipelines-2.yml @@ -0,0 +1,23 @@ +#include + +int main() { + // Declare variables to store the numbers + double num1, num2; + + printf("Enter the first number: "); + // Read the first number from the user + scanf("%lf", &num1); + + // Prompt the user to enter the second number + printf("Enter the second number: "); + // Read the second number from the user + scanf("%lf", &num2); + + // Add the numbers + double sumResult = num1 + num2; + + // Display the result + printf("The sum of %.2lf and %.2lf is: %.2lf\n", num1, num2, sumResult); + + return 0; +}