uz
Feedback
C Programming Codes

C Programming Codes

Kanalga Telegram’da o‘tish

C Programming Codes || Quizzes || DSA Learn along with the community Any queries admin - @Pradeep_saii

Ko'proq ko'rsatish

📈 Telegram kanali C Programming Codes analitikasi

C Programming Codes (@c_programming_codes) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 13 433 obunachidan iborat bo'lib, Texnologiyalar & Aralashmalar toifasida 9 525-o'rinni va Hindiston mintaqasida 32 112-o'rinni egallagan.

📊 Auditoriya ko‘rsatkichlari va dinamika

невідомо sanasidan buyon loyiha tez o‘sib, 13 433 obunachiga ega bo‘ldi.

10 Iyun, 2026 dagi oxirgi ma’lumotlarga ko‘ra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni -232 ga, so‘nggi 24 soatda esa -3 ga o‘zgardi va umumiy qamrov yuqori darajada qolmoqda.

  • Tasdiqlash holati: Tasdiqlanmagan
  • Jalb etish (ER): Auditoriya o‘rtacha 9.77% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining N/A% ini tashkil etuvchi reaksiyalarni to‘playdi.
  • Post qamrovi: Har bir post o‘rtacha 0 marta ko‘riladi; birinchi sutkada odatda 0 ta ko‘rish yig‘iladi.
  • Reaksiyalar va o‘zaro ta’sir: Auditoriya faol: har bir postga o‘rtacha 0 ta reaksiya keladi.
  • Tematik yo‘nalishlar: Kontent input, string, scanf("%d, array, element kabi asosiy mavzularga jamlangan.

📝 Tavsif va kontent siyosati

Muallif resursni shaxsiy fikrni ifoda etish maydoni sifatida ta’riflaydi:
C Programming Codes || Quizzes || DSA Learn along with the community Any queries admin - @Pradeep_saii

Yuqori yangilanish chastotasi (oxirgi ma’lumot 11 Iyun, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli bo‘lib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Texnologiyalar & Aralashmalar toifasidagi muhim ta’sir nuqtasiga aylantirishini ko‘rsatadi.

13 433
Obunachilar
-324 soatlar
-477 kunlar
-23230 kunlar
Postlar arxiv
#90DaysOfLeetCode challenge started If you're interested, Join the channel. Link: https://t.me/+-J7nBjpCGK4xMDZl
#90DaysOfLeetCode challenge started If you're interested, Join the channel. Link: https://t.me/+-J7nBjpCGK4xMDZl

#90DaysOfLeetCode challenge started If you're interested, Join the channel. Link: https://t.me/+-J7nBjpCGK4xMDZl
#90DaysOfLeetCode challenge started If you're interested, Join the channel. Link: https://t.me/+-J7nBjpCGK4xMDZl

Hello everyone 👋 We’re starting the #90DaysOfLeetCode challenge from May 4. Link: https://t.me/+-J7nBjpCGK4xMDZl
Hello everyone 👋 We’re starting the #90DaysOfLeetCode challenge from May 4. Link: https://t.me/+-J7nBjpCGK4xMDZl

Join our other channels Jobs For Freshers - Off Campus 👉 https://t.me/jobsforfreshers_offcampus Udemy Free Courses 👉https://t.me/udemyyfreecourses Tech Jargon - Decoded 👉https://t.me/tech_jargon_decoded

Are you 🫵 struggling with understanding technical terms Check out my recent LinkedIn Post 👉https://www.linkedin.com/posts/sai-pradeep-875742268_tech-learning-students-share-7442189348726349824-VSBz?

hi

13.Program to calculate distance between two points
#include<stdio.h>
#include<math.h>

int main()
{
    float x1,y1,x2,y2,distance;
    printf("Enter point 1 coordinates(x1,y1):");
    scanf("%f %f",&x1,&y1);
    printf("Enter point 2 coordinates(x2,y2):");
    scanf("%f %f",&x2,&y2);
    distance = sqrt( pow(x2-x1,2) + pow(y2 - y1,2));
    printf("Distance between two points is:%.2f",distance);
    return 0;
}

12.Program to Calculate Compound Interest
#include<stdio.h>
#include<math.h>
int main()
{
    int prinicipalAmt,years;
    float rate,amount,compoundInterest;
    printf("Enter Pricipal Amount:");
    scanf("%d",&prinicipalAmt);
    printf("Enter Time (in years):");
    scanf("%d",&years);
    printf("Enter rate:");
    scanf("%f",&rate);
    amount= prinicipalAmt * pow(( 1 + rate / 100.0 ),years);
    compoundInterest = amount - prinicipalAmt;
    printf("Compound Interest: %.2f\n",compoundInterest);
    printf("Total Amount: %.2f",amount);
    return 0;
}

11.Program to swap two numbers without using temporary variable
#include <stdio.h>

int main() {
    int a=10,b=20;
    printf("Before Swapping:\n");
    printf("a=%d ,b=%d\n",a,b);
    a = a + b;
    b = a - b;
    a = a - b;
    printf("After Swapping:\n");
    printf("a=%d ,b=%d",a,b);
    return 0;
}

C Programming language course is out for free guys, enroll faster before the coupon expires Checkout here 👉
C Programming language course is out for free guys, enroll faster before the coupon expires Checkout here 👉

10.Program to swap two numbers using temporary variable
#include <stdio.h>

int main() {
    int a, b, temp;
    a = 10, b = 20;
    printf("Before swapping:\n");
    printf("a = %d , b = %d", a, b);
    temp = a;
    a = b;
    b = temp;
    printf("\nAfter swapping:\n");
    printf("a = %d , b = %d", a, b);
    return 0;
}

9.Program to find square and cube of a number
#include <stdio.h>

int main() {
    int number, cube, square;
    printf("Enter any number:");
    scanf("%d", &number);
    square = number * number;
    cube = number * number * number;
    printf("Square of %d is : %d", number, square);
    printf("\nCube of %d is : %d", number, cube);
    return 0;
}

8.Program to convert celsius to fahrenheit
#include <stdio.h>

int main() {
    float celsius, fahrenheit;
    printf("Enter temperature in celsius:");
    scanf("%f", &celsius);
    fahrenheit = (celsius * 9 / 5.0) + 32;
    printf("Celsius %.2f converted to Fahrenheit is : %.2f", celsius, fahrenheit);
    return 0;
}

7.Program to calculate area of circle
#include <stdio.h>
#define PI 3.14

int main() {
    float radius, area;
    printf("Enter radius of the circle");
    scanf("%f", &radius);
    area = PI * radius * radius;
    printf("Area of circle is : %.2f", area);
    return 0;
}

6.Program to calculate Simple Interest
#include <stdio.h>

int main() {
    float principalAmount, time, rate, simpleInterest;
    printf("Enter Principal Amount:");
    scanf("%f", &principalAmount);
    printf("Enter Time:");
    scanf("%f", &time);
    printf("Enter Rate of Interest:");
    scanf("%f", &rate);
    simpleInterest = (principalAmount * rate * time) / 100;
    printf("Simple interest is : %.2f", simpleInterest);
    return 0;
}

5.Program to find unit digit of a number
#include <stdio.h>

int main() {
    int number;
    printf("Enter any number");
    scanf("%d", &number);
    int unitDigit = number % 10;
    printf("Unit digit of %d is %d", number, unitDigit);
    return 0;
}

4.Program to find average of three numbers
#include <stdio.h>

int main() {
    float firstNum, secondNum, thirdNum, average;
    printf("Enter three numbers:");
    scanf("%f %f %f", &firstNum, &secondNum, &thirdNum);
    average = (firstNum + secondNum + thirdNum) / 3;
    printf("Average of %f , %f and %f is : %f", firstNum, secondNum, thirdNum, average);
    return 0;
}

3.Add Two Numbers Using User Input
#include <stdio.h>

int main() {
    int firstNum, secondNum, result;
    printf("Enter first number:");
    scanf("%d", &firstNum);
    printf("Enter second number:");
    scanf("%d", &secondNum);
    result = firstNum + secondNum;
    printf("Sum of %d and %d is : %d", firstNum, secondNum, result);
    return 0;
}