Write a program to print the format c co com comp compu comput compute computer?

1 answer

Answer

1279967

2026-07-09 08:55

+ Follow

#include<stdio.h>

void main()

{

char a[]="computer";

int i,j;

clrscr();

for(i=0;i<8;i++)

{

for(j=0;j<i+1;j++)

{

printf("%c",a[j]);

}

printf("\n");

}

getch();

}

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.