en
Feedback
C Language πŸ‘¨β€πŸ’»

C Language πŸ‘¨β€πŸ’»

Open in Telegram

This channel will serve you programs of C language. Admin : @jeNiShsoNi Useful channels : @c_channels @DeCODE_C @pyGuru

Show more
The country is not specifiedTechnologies & Applications1 456

πŸ“ˆ Analytical overview of Telegram channel C Language πŸ‘¨β€πŸ’»

Channel C Language πŸ‘¨β€πŸ’» (@c_codings) is an active participant. Currently, the community unites 62 093 subscribers, ranking 1 456 in the Technologies & Applications category.

πŸ“Š Audience metrics and dynamics

Since its creation on Π½Π΅Π²Ρ–Π΄ΠΎΠΌΠΎ, the project has demonstrated rapid growth, gathering an audience of 62 093 subscribers.

According to the latest data from 02 December, 2024, the channel demonstrates stable activity. Although there has been a change in the number of participants by 0 over the last 30 days and by 0 over the last 24 hours, overall reach remains high.

  • Verification status: Not verified
  • Engagement rate (ER): The average audience engagement rate is 0%. Within the first 24 hours after publication, content typically collects N/A% reactions from the total number of subscribers.
  • Post reach: On average, each post receives 0 views. Within the first day, a publication typically gains 0 views.
  • Reactions and interaction: The audience actively supports content: the average number of reactions per post is 0.

πŸ“ Description and content policy

The author describes the resource as a platform for expressing subjective opinions:
β€œThis channel will serve you programs of C language. Admin : @jeNiShsoNi Useful channels : @c_channels @DeCODE_C @pyGuru”

Thanks to the high frequency of updates (latest data received on 03 December, 2024), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.

62 093
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
24. Pattern 4 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 #include<stdio.h> #include<conio.h> void main() { int n, i, j; printf("Enter number : "); scanf("%d", &n); for (i = 1; i <= n; i++) { for (j = 1; j <= i; j++) { printf("%d ", j); } printf("\n"); } getch(); } #pattern @C_Codings

23. Pattern 3 β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ #include<stdio.h> #include<conio.h> void main() { char ch = '*'; int n,i, j, no_of_spaces = 0, spaceCount; printf("Enter number : "); scanf("%d", &n); printf("\n"); no_of_spaces = n - 1; for (i = 1; i <= n; i++) { for (spaceCount = no_of_spaces; spaceCount >= 1; spaceCount--) { printf(" "); } for (j = 1; j <= i; j++) { printf("%2c", ch); } printf("\n"); no_of_spaces--; } getch(); } #pattern @C_Codings

22. Pattern 2 β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ #include<stdio.h> #include<conio.h> void main() { int i, j, n; clrscr(); printf("Enter number : "); scanf("%d", &n); for(i=n; i>=1; i--) { for(j=1;j<=i;j++) { printf("β€’ "); } printf("\n"); } getch(); } #pattern @C_Codings

21. Pattern 1 β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ β€’ #include<stdio.h> #include<conio.h> void main() { int i, j, n; clrscr(); printf("Enter number :"); scanf("%d", &n); for(i=1; i<=n; i++) { for(j=1; j<=i; j++) { printf("β€’ "); } printf("\n"); } getch(); } #pattern @C_Codings

20. Program to take number from user and print table of that number. #include<stdio.h> #include<conio.h> void main() { int i, n; clrscr(); printf("Enter number : "); scanf("%d", &n); for(i = 1; i <= 10; i++) printf("%d Γ— %d = %d\n", n, i, n*i); getch(); } #for_loop @C_Codings

19. Program to take a number from user and check whether it is Armstrong number or not. #include<stdio.h> #include<conio.h> void main() { int i=2, temp, rem, sum=0, n; clrscr(); printf("Enter n : "); scanf("%d", &n); temp = n; while(n>0) { rem = n%10; sum = sum+(rem*rem*rem); n = n/10; } if(temp == sum) printf("Entered number is an Armstrong Number"); else printf("Entered number is not an Armstrong Number"); getch(); } #while_loop @C_Codings

18. Program to accept a number and print sum of it’s digits. #include<stdio.h> #include<conio.h> void main() { int reminder, sum=0, n; clrscr(); printf("Enter n : "); scanf("%d", &n); while(n>0) { reminder = n % 10; sum = sum + reminder; n = n / 10; } printf("Sum of digits : %d",sum); getch(); } #while_loop @C_Codings

17. Program to accept a number and print that number in reverse order. Ex:- 1024 Output:- 4201 #include<stdio.h> #include<conio.h> void main() { int reminder, n; clrscr(); printf("Enter n : "); scanf("%d", &n); while(n>0) { reminder=n%10; printf("%d", reminder); n=n/10; } getch(); } #while_loop @C_Codings

16. Program to print first n even numbers. #include<stdio.h> #include<conio.h> void main() { int i = 2, n; //to print odd numbers set variable i = 1 clrscr(); printf("Enter n : "); scanf("%d", &n); while(i<=n) { printf("%d\t", i); i = i + 2; } getch(); } #while_loop @C_Codings

15. Program to print numbers from n to 1 using Do While loop. #include<stdio.h> #include<conio.h> void main() { int i=1, n; clrscr(); printf("Enter n : "); scanf("%d", &n); i=n; do { printf("%d\t",i); i--; } while (i >= 1); getch(); } #do_while_loop @C_Codings

14. Program to print numbers from 1 to n using while loop. #include<stdio.h> #include<conio.h> void main() { int i=1, n; clrscr(); printf("Enter n : "); scanf("%d", &n); while(i<=n) { printf("%d\t",i); i++; } getch(); } #while_loop @C_Codings

13. Program to accept rollnumber and marks of three subjects from user and print total marks, average and grade. #include<stdio.h> #include<conio.h> void main() { int RollNum, m1, m2, m3, total; float avg; clrscr(); printf("Enter Roll Number : "); scanf("%d",&RollNum); printf("Enter marks for three subjects : "); scanf("%d %d %d", &m1, &m2, &m3); total = m1 + m2 + m3; avg = total / 3.0; printf("\nTotal is : %d", total); printf("\nAverage is : %5.2f", avg); if(avg>80) printf("\nGrade : A"); else if((avg>60)&&(avg<=80)) printf("\nGrade : B"); else if((avg>40)&&(avg<=60)) printf("\nGrade : C"); else if((avg>=33)&&(avg<=40) printf("\nGrade : D"); else printf("\nGrade : Fail"); getch(); } #if_else @C_Codings

12. Program to find the roots of a quadratic equation. #include<stdio.h> #include<conio.h> #include<math.h> void main() { float a, b, c, discriminant, real; double r1, r2, imag; printf("Enter coefficients a, b and c: "); scanf("%f%f%f", &a, &b, &c); discriminant = b * b - 4 * a * c; if (discriminant > 0) { r1 = (-b + sqrt(discriminant)) / (2 * a); r2 = (-b - sqrt(discriminant)) / (2 * a); printf("Roots are: %.2f and %.2f", r1, r2); } else if (discriminant == 0) { r1 = r2 = -b / (2 * a); printf("Roots are: %.2f and %.2f", r1, r2) } else { real = -b / (2 * a); imag = sqrt(-discriminant) / (2 * a); printf("Roots : %.2f+%.2fi and %.2f-%.2fi", real, imag, real, imag); } getch(); } #if_else @C_Codings

11. Program to accept three numbers from user and print them in ascending and decending order. #include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("Enter numbers:"); scanf("%d %d %d",&a,&b,&c); if ((a>=b)&&(a>=c)) { if (b>=c) { printf("\nDesc : %d %d %d",a,b,c); printf("\nAsc : %d %d %d",c,b,a); } else { printf("\nDesc : %d %d %d",a,c,b); printf("\nAsc : %d %d %d",b,c,a); } } else if ((b>=a)&&(b>=c)) { if (a>=c) { printf("\nDesc : %d %d %d",b,a,c); } } else { if (b>=a) { printf("\nDesc : %d %d %d",c,b,a); printf("\nAsc : %d %d %d",a,b,c); } else { printf("\nDesc : %d %d %d",c,a,b); printf("\nAsc : %d %d %d",b,a,c); } } getch(); } #if_else @C_Codings

10. Program to check whether the number is even or odd. #include<stdio.h> #include<conio.h> void main() { int n; clrscr(); printf("Enter number: ); scanf("%d",&n); if(n%2==0) printf("Number is even"); else printf("Number is odd"); getch(); } #if_else @C_Codings

9. Program to accept a number and check whether the number is Positive, Negative or Zero. #include<stdio.h> #include<conio.h> void main() { int n; clrscr(); printf("Enter number: "); scanf("%d",&n); if(n>0) printf("Number is positive"); else if(n<0) printf("Number is negative"); else printf("Number is Zero"); getch(); } #if_else @C_Codings

8. Program to accept two number and print largest among them. #include<stdio.h> #include<conio.h> void main() { int a,b; clrscr(); printf("Enter 1st number : "); scanf("%d",&a); printf("Enter 2nd number : "); scanf("%d",&b); if(a>b) printf("Largest value is : %d",a); else printf("Largest value is : %d",b); getch(); } #if_else @C_Codings

7. Program to accept two values of a & b and swap their values. #include<stdio.h> #include<conio.h> void main() { int a,b,temp; clrscr(); printf("Enter 1st number : "); scanf("%d",&a); printf("Enter 2nd number : "); scanf("%d",&b); printf("\nBefore Swapping..."); printf("A=%d, B=%d",a,b); temp=a; a=b; b=temp; printf("\nAfter Swapping..."); printf("\n A=%d, B=%d",a,b); getch(); } #basics @C_Codings

6. Program to accept a number from user and print it’s square & cube. #include<stdio.h> #include<conio.h> void main() { int n,sqre,cube; clrscr(); printf("Enter Number: "); scanf("%d",&n); sqre=n*n; cube=n*n*n; printf("\nSquare: %d\nCube: %d",sqre,cube); getch(); } #basics @C_Codings

5. Program to accept value of radius and print area of a circle. #include<stdio.h> #include<conio.h> void main() { float area,radius; clrscr(); printf("Enter Radius:"); scanf("%f",&radius); area=3.14*radius*radius; printf("Area : %6.2f",area); getch(); } #basics @C_Codings