C Programming Codes
前往频道在 Telegram
C Programming Codes || Quizzes || DSA Learn along with the community Any queries admin - @Pradeep_saii
显示更多📈 Telegram 频道 C Programming Codes 的分析概览
频道 C Programming Codes (@c_programming_codes) 英语 语言赛道中的 是活跃参与者。目前社区聚集了 13 422 名订阅者,在 技术与应用 类别中位列第 9 537,并在 印度 地区排名第 32 062 位。
📊 受众指标与增长动态
自 невідомо 创建以来,项目保持高速增长,吸引了 13 422 名订阅者。
根据 12 六月, 2026 的最新数据,频道保持稳定运转。过去 30 天订阅人数变化为 -240,过去 24 小时变化为 -9,整体触达仍然可观。
- 认证状态: 未认证
- 互动率 (ER): 平均受众互动率为 9.78%。内容发布后 24 小时内通常能获得 N/A% 的反应,占订阅者总量。
- 帖子覆盖: 每篇帖子平均可获得 0 次浏览,首日通常累积 0 次浏览。
- 互动与反馈: 受众积极参与,单帖平均反应数为 0。
- 主题关注点: 内容集中在 input, string, scanf("%d, array, element 等核心主题上。
📝 描述与内容策略
作者将该频道定位为表达主观观点的平台:
“C Programming Codes || Quizzes || DSA
Learn along with the community
Any queries
admin - @Pradeep_saii”
凭借高频更新(最新数据采集于 13 六月, 2026),频道始终保持新鲜度与高覆盖。分析显示受众积极互动,使其成为 技术与应用 类别中的关键影响点。
13 422
订阅者
-924 小时
-617 天
-24030 天
帖子存档
13 422
💻 Check if Point Lies on Y-Axis
#include <stdio.h>
int main() {
int x, y;
printf("Enter the x-coordinate: ");
scanf("%d", &x);
printf("Enter the y-coordinate: ");
scanf("%d", &y);
if (x == 0) {
printf("The point lies on the Y-axis.n");
} else {
printf("The point does not lie on the Y-axis.n");
}
return 0;
}
📤 Output:
Input: 0 Output: Enter the x-coordinate: Enter the y-coordinate: The point lies on the Y-axis. Input: 5 Output: Enter the x-coordinate: Enter the y-coordinate: The point does not lie on the Y-axis.
13 422
💻 Check if Point Lies on X-Axis
#include <stdio.h>
int main() {
float x, y;
printf("Enter the x-coordinate: ");
scanf("%f", &x);
printf("Enter the y-coordinate: ");
scanf("%f", &y);
if (y == 0) {
printf("The point lies on the X-axis.n");
} else {
printf("The point does not lie on the X-axis.n");
}
return 0;
}
📤 Output:
Input: 5.0 Input: 0.0 Output: The point lies on the X-axis. Input: 2.5 Input: 3.7 Output: The point does not lie on the X-axis.
13 422
💻 Check if Character is Vowel
#include <stdio.h>
#include <ctype.h>
int main() {
char ch;
printf("Enter a character: ");
scanf(" %c", &ch);
ch = tolower(ch);
if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') {
printf("%c is a vowel.n", ch);
} else {
printf("%c is not a vowel.n", ch);
}
return 0;
}
📤 Output:
Input: A Output: a is a vowel. Input: b Output: b is not a vowel. Input: E Output: e is a vowel. Input: z Output: z is not a vowel.
13 422
💻 Check if Number is Even
#include <stdio.h>
int main() {
int number;
printf("Enter an integer: ");
scanf("%d", &number);
if (number % 2 == 0) {
printf("%d is even.n", number);
} else {
printf("%d is odd.n", number);
}
return 0;
}
📤 Output:
Input: 4 Output: 4 is even. Input: 7 Output: 7 is odd. Input: 0 Output: 0 is even. Input: -2 Output: -2 is even. Input: -5 Output: -5 is odd.
13 422
🚀100 Days of LeetCode 2025 Challenge started
Join below channel to be part of this challenge
🔗https://t.me/+utZsK17rSXRmZWQ1
13 422
💻 Check if Number is Positive
#include <stdio.h>
int main() {
int num;
printf("Enter a number: ");
scanf("%d", &num);
if (num > 0) {
printf("The number is positive.n");
}
return 0;
}
📤 Output:
Input: 5 Output: Enter a number: The number is positive. Input: -3 Output: Enter a number:
13 422
💻 Swap First and Last Digits of a Number
#include <stdio.h>
#include <math.h>
int main() {
int num, firstDigit, lastDigit, digits, tempNum, swappedNum;
printf("Enter an integer: ");
scanf("%d", &num);
lastDigit = num % 10;
tempNum = num;
digits = 0;
while (tempNum != 0) {
tempNum /= 10;
digits++;
}
firstDigit = num / pow(10, digits - 1);
num -= firstDigit * pow(10, digits - 1);
num += firstDigit;
num -= lastDigit;
num += lastDigit * pow(10, digits - 1);
swappedNum = num;
printf("Number after swapping first and last digit: %dn", swappedNum);
return 0;
}
📤 Output:
Input: 12345 Output: Number after swapping first and last digit: 52341 Input: 678 Output: Number after swapping first and last digit: 876 Input: 9 Output: Number after swapping first and last digit: 9 Input: 2024 Output: Number after swapping first and last digit: 4022
13 422
💻 Seconds to Hours:Minutes:Seconds Converter
#include <stdio.h>
int main() {
int totalSeconds, hours, minutes, seconds;
printf("Enter the total number of seconds: ");
scanf("%d", &totalSeconds);
hours = totalSeconds / 3600;
minutes = (totalSeconds % 3600) / 60;
seconds = totalSeconds % 60;
printf("Hours: %dn", hours);
printf("Minutes: %dn", minutes);
printf("Seconds: %dn", seconds);
return 0;
}
📤 Output:
Input: 3661 Output: Enter the total number of seconds: Hours: 1 Minutes: 1 Seconds: 1 Input: 86400 Output: Enter the total number of seconds: Hours: 24 Minutes: 0 Seconds: 0 Input: 59 Output: Enter the total number of seconds: Hours: 0 Minutes: 0 Seconds: 59
13 422
💻 Calculate BMI (Body Mass Index)
#include <stdio.h>
int main() {
float weight, height, bmi;
printf("Enter weight in kilograms: ");
scanf("%f", &weight);
printf("Enter height in meters: ");
scanf("%f", &height);
bmi = weight / (height * height);
printf("BMI = %.2fn", bmi);
return 0;
}
📤 Output:
Input: 70 Input: 1.75 Output: BMI = 22.86
13 422
💻 Print Your Name, Age, and Hobby
#include <stdio.h>
int main() {
char name[50];
int age;
char hobby[100];
printf("Enter your name: ");
scanf("%s", name);
printf("Enter your age: ");
scanf("%d", &age);
printf("Enter your hobby: ");
scanf(" %[^n]s", hobby);
printf("Name: %sn", name);
printf("Age: %dn", age);
printf("Hobby: %sn", hobby);
return 0;
}
📤 Output:
Input: John Doe Input: 30 Input: Playing the guitar Output: Enter your name: Enter your age: Enter your hobby: Name: John Age: 30 Hobby: Playing the guitar
13 422
💻 Celsius to Fahrenheit Converter
#include <stdio.h>
int main() {
float celsius, fahrenheit;
printf("Enter temperature in Celsius: ");
scanf("%f", &celsius);
fahrenheit = (celsius * 9 / 5) + 32;
printf("Temperature in Fahrenheit: %.2fn", fahrenheit);
return 0;
}
📤 Output:
Input: 25 Output: Temperature in Fahrenheit: 77.00 Input: 0 Output: Temperature in Fahrenheit: 32.00 Input: -40 Output: Temperature in Fahrenheit: -40.00 Input: 100 Output: Temperature in Fahrenheit: 212.00
13 422
💻 Fahrenheit to Celsius Converter
#include <stdio.h>
int main() {
float fahrenheit, celsius;
printf("Enter temperature in Fahrenheit: ");
scanf("%f", &fahrenheit);
celsius = (fahrenheit - 32) * 5.0 / 9.0;
printf("Temperature in Celsius: %.2fn", celsius);
return 0;
}
📤 Output:
Input: 212 Output: Temperature in Celsius: 100.00 Input: 32 Output: Temperature in Celsius: 0.00 Input: 98.6 Output: Temperature in Celsius: 37.00
13 422
💻 Area of Rectangle Calculator
#include <stdio.h>
int main() {
float length, width, area;
printf("Enter the length of the rectangle: ");
scanf("%f", &length);
printf("Enter the width of the rectangle: ");
scanf("%f", &width);
area = length * width;
printf("The area of the rectangle is: %fn", area);
return 0;
}
📤 Output:
Input: 5.0 Input: 10.0 Output: The area of the rectangle is: 50.000000
13 422
🚀100 Days of LeetCode 2025 Challenge started
Join below channel to be part of this challenge
🔗https://t.me/+utZsK17rSXRmZWQ1
13 422
💻 Area of Circle Calculator
#include <stdio.h>
int main() {
float radius, area;
const float PI = 3.14159;
printf("Enter the radius of the circle: ");
scanf("%f", &radius);
area = PI * radius * radius;
printf("The area of the circle is: %fn", area);
return 0;
}
📤 Output:
Input: 5 Output: Enter the radius of the circle: The area of the circle is: 78.539757 Input: 2.5 Output: Enter the radius of the circle: The area of the circle is: 19.634938
13 422
💻 Compound Interest Calculator
#include <stdio.h>
#include <math.h>
int main() {
float principal, rate, time, compound_interest, amount;
int compounding_frequency;
printf("Enter principal amount: ");
scanf("%f", &principal);
printf("Enter annual interest rate (as a decimal, e.g., 0.05 for 5%%): ");
scanf("%f", &rate);
printf("Enter time in years: ");
scanf("%f", &time);
printf("Enter compounding frequency (e.g., 1 for annually, 12 for monthly): ");
scanf("%d", &compounding_frequency);
amount = principal * pow(1 + (rate / compounding_frequency), compounding_frequency * time);
compound_interest = amount - principal;
printf("Compound Interest: %.2fn", compound_interest);
return 0;
}
📤 Output:
Enter principal amount: 1000 Input: 1000 Enter annual interest rate (as a decimal, e.g., 0.05 for 5%): 0.05 Input: 0.05 Enter time in years: 5 Input: 5 Enter compounding frequency (e.g., 1 for annually, 12 for monthly): 1 Input: 1 Compound Interest: 276.28
13 422
💻 Simple Interest Calculator
#include <stdio.h>
int main() {
float principal, rate, time, interest;
printf("Enter principal amount: ");
scanf("%f", &principal);
printf("Enter rate of interest: ");
scanf("%f", &rate);
printf("Enter time in years: ");
scanf("%f", &time);
interest = (principal * rate * time) / 100;
printf("Simple Interest = %fn", interest);
return 0;
}
📤 Output:
Input: 1000 Input: 5 Input: 2 Output: Simple Interest = 100.000000
13 422
💻 Variable Swapping (Three Variables)
#include <stdio.h>
int main() {
int a, b, c, temp;
printf("Enter the values of a, b, and c: ");
scanf("%d %d %d", &a, &b, &c);
printf("Before swapping: a = %d, b = %d, c = %dn", a, b, c);
temp = a;
a = b;
b = c;
c = temp;
printf("After swapping: a = %d, b = %d, c = %dn", a, b, c);
return 0;
}
📤 Output:
Input: 10 20 30 Output: Enter the values of a, b, and c: Before swapping: a = 10, b = 20, c = 30 After swapping: a = 20, b = 30, c = 10
13 422
🚀100 Days of LeetCode 2025 Challenge
started
Join below channel to be part of this challenge
🔗https://t.me/+utZsK17rSXRmZWQ1
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
