🔒 Closed Pa help po C prog

Status
Not open for further replies.

Renzii98

Leecher
Mga idol hingi lang sana ako tulong sa looping. Medyo mahihirapan kasi ako mapalabas yung output. ag ginagamitan ng \t naapketuhan yung kabilang column. d ko po alam kung mali lang ako sa brackets. thanks in advance po. USER_SCOPED_TEMP_DATA_orca-image--1482932971.webp
 
#include <stdio.h>

int main()
{
int a;
int a1;

for(a=1, a1=10;a<=10,a1>=6; a+=2,a1--)

printf("%d \t \t %d\n",a,a1);
}

Ito palang initial ko idol. pag nag if ako sa a1==6 dun na ako nagkakamali nawawala yung 9 sa unang column.
ganito ba?
 

Attachments

  • 2021-11-25 14_19_30-C__Users_zhero_Desktop_G10 C PROG_ewan.c (WorkSpace) - Sublime Text.webp
    2021-11-25 14_19_30-C__Users_zhero_Desktop_G10 C PROG_ewan.c (WorkSpace) - Sublime Text.webp
    13.9 KB · Views: 20
Status
Not open for further replies.

Similar threads

About this Thread

  • 5
    Replies
  • 688
    Views
  • 3
    Participants
Last reply from:
zhero25

Trending Topics

Online now

Members online
1,265
Guests online
7,470
Total visitors
8,735

Forum statistics

Threads
2,347,293
Posts
29,352,916
Members
1,097,857
Latest member
hahahahahahah24789
Back
Top