Friday, March 17, 2023

"create "hi I love you c" programme using c " with output

//create "hi I  love you c" programme  using c 10 times
#include <stdio.h>
int main (){
    int i,n;
printf ("enter the value of n :");
scanf ("%i",&n);
for (i=1;i<=n;i=i+1){
    printf ("hi I  love you c\n");
}
return 0;
}



OUTPUT OUTPUT OUTPUT OUTPUT OUTPUT OUTPUT OUTPUT OUTPUT OUTPUT OUTPUT

hi I love you c hi I love you c hi I love you c hi I love you c hi I love you c hi I love you c hi I love you c hi I love you c hi I love you c hi I love you c

No comments:

Post a Comment

print a multiplication table of any integer taking from user

 // print a multiplication table of any integer taking from user  #include "stdio.h" int main () { int n,mul,i; printf ("...