0
Why I unable to run every program on solo learnšš
Whenever I try to run a program it always don't show the correct output as the program is totally correct and whenever I make it another app it'll show output
7 Answers
+ 2
[array index always start with 0]
your code is finding all the even numbers out of 20 numbers.
edit: I've deleted the code and instead pasted the source codes here...
// Created by Navneet
#include <stdio.h>
int main()
{
int i,a[20] ={1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,1,2};
/*for(i=0;i<20;i++)
{
scanf("%d",&a[i]);
}*/
for(i=0;i<20;i++)
{
if(a[i]%2==0)
{
printf("%d,",a[i]);
}
}
return 0;
}
+ 1
RKK I've not understood š
+ 1
RKK thank you soo much šš
0
Nearly all
0
I'll show you
0
RKK doesn't work š