4.write a program to print the sum of two given numbers
Answers
Answered by
1
Answer:
var x = 4 /*
*/ You can change the values
as they are variables */
var y = 7
console.log(x + y)
Language JavaScript
Answered by
0
Answer:
I am a C language learner so this is the program below :-
Explanation:
#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);
}
THANKS :)
Similar questions