#include<stdio.h>
int main()
{
char str[100];
char c='a';
int i=0;
printf("type a word \n");
while(c != '\n')
{
c = getchar();
str[i]=c;
i++;
}
for (int j=0;j<=i;j++)
{
printf("%c ",str[j]);
j++;
}
return 0;
}
Thanks
Happy computing !
Post the following query in Screen.in, to get list of high dividend yield stocks: Dividend yield > 6 AND Dividend last year > 1000 AN...
No comments:
Post a Comment