🔒 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
  • 441
    Views
  • 2
    Participants
Last reply from:
FreeAllYouCan-OFFICIAL

Trending Topics

Online now

Members online
1,087
Guests online
3,578
Total visitors
4,665

Forum statistics

Threads
2,330,672
Posts
29,255,877
Members
1,151,229
Latest member
yujinnnn
Back
Top