Computer Science, asked by ishikapal0283, 7 months ago

Question 4.
Write the output
following Program.
for
the
#include<stdio.h>
#include<conio.h>
void main()
{
int a=40,b=22, c=10, d =20, m;
clrscr();
m = (a>b) || (c<d);
m += 6;
printf("The value of m is %d",
m);
getch();
}​

Answers

Answered by smartboytt1984
2

Answer:

#include<stdio. h> int c[10] = {1,2,3,4,5,6,7,8,9,10}; main() { int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b); }

Explanation:

please follow me

Similar questions