From e16e6f00cc77af911e5289b8769d26eadfd215ca Mon Sep 17 00:00:00 2001 From: baggu chandu <153180992+2200090091@users.noreply.github.com> Date: Fri, 5 Jan 2024 08:48:37 +0530 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-2.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 azure-pipelines-2.yml 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; +}