Computer Science, asked by ktarunkumar07, 9 months ago

The instruction REPNE SCASB translates to several lines of simpler machine code that in turn performs the looping task

Answers

Answered by srimadhavan93
5

Answer:

#include<stdio.h>

int main() {

int a, b, sum;

printf("\nEnter two no: ");

scanf("%d %d", &a, &b);

sum = a + b;

printf("Sum : %d", sum);

return(0);

}

In Python:

num1 = 5

num2 = 7

sum = num1 + num2

print(" Sum of {0} and {1} is {2} " .format(num1, num2, sum) )

Similar questions