🔒 Closed Patulong sa c mga paps.

Status
Not open for further replies.
easy for every instance of odd numbers including 1. print it using the value of the iterator.

example

int i;
for(i = 1; i <= 5; i++) {
if(i % 2 == 1 || i == 1)
printf("%d",i);
printf("\n");
}

PS: wala pang formating yan ikaw namag format gamitan mo ng condition for spaces

Sa spaces pa naman ako nahirapan
 
Status
Not open for further replies.

About this Thread

  • 3
    Replies
  • 437
    Views
  • 2
    Participants
Last reply from:
FreeAllYouCan-OFFICIAL

Trending Topics

Online now

Members online
1,337
Guests online
3,481
Total visitors
4,818

Forum statistics

Threads
2,305,879
Posts
29,168,309
Members
1,195,477
Latest member
Jomar Gabriel
Back
Top