write a program to input 2 number using assignment operator
pls give correct answer I will give 20 thanks, a follow and mark it as brainliest answer
Answers
Answered by
0
Answer:
yes
Explanation:
program:-
#include <stdio.h>
#include <conio.h>
int main ()
{
// initialize variables
int n1, n2, c, x, y;
n1 = 5;
n2 = n1;
c = n1 + n2;
x = 20 / 4 * 2 + 5;
printf (" \n The value of n1: %d", n1);
printf (" \n The value of n2: %d", n2);
printf (" \n The value of c: %d", c);
printf (" \n The value of x: %d", x);
return 0;
}
Similar questions