C language basic to Advance
رفتن به کانال در Telegram
380
مشترکین
+724 ساعت
+437 روز
+17030 روز
در حال بارگیری داده...
کانالهای مشابه
ابر برچسبها
هیچ دادهای
مشکلی وجود دارد؟ لطفاً صفحه را تازه کنید یا با مدیر پشتیبانی ما تماس بگیرید.
اشارات ورودی و خروجی
---
---
---
---
---
---
جذب مشترکین
دسامبر '24
دسامبر '24
+34
در 0 کانالها
نوامبر '24
+41
در 0 کانالها
Get PRO
اکتبر '24
+63
در 0 کانالها
Get PRO
سپتامبر '24
+194
در 0 کانالها
Get PRO
اوت '24
+247
در 0 کانالها
Get PRO
ژوئیه '24
+99
در 0 کانالها
Get PRO
ژوئن '24
+212
در 1 کانالها
Get PRO
مه '24
+62
در 0 کانالها
Get PRO
آوریل '24
+108
در 0 کانالها
Get PRO
مارس '24
+109
در 0 کانالها
Get PRO
فوریه '24
+124
در 0 کانالها
Get PRO
ژانویه '24
+387
در 0 کانالها
Get PRO
دسامبر '23
+264
در 2 کانالها
Get PRO
نوامبر '23
+155
در 6 کانالها
Get PRO
اکتبر '23
+233
در 2 کانالها
| تاریخ | رشد مشترکین | اشارات | کانالها | |
| 21 دسامبر | +5 | |||
| 20 دسامبر | +6 | |||
| 19 دسامبر | +3 | |||
| 18 دسامبر | +1 | |||
| 17 دسامبر | +1 | |||
| 16 دسامبر | +5 | |||
| 15 دسامبر | 0 | |||
| 14 دسامبر | 0 | |||
| 13 دسامبر | 0 | |||
| 12 دسامبر | 0 | |||
| 11 دسامبر | 0 | |||
| 10 دسامبر | 0 | |||
| 09 دسامبر | 0 | |||
| 08 دسامبر | +8 | |||
| 07 دسامبر | +1 | |||
| 06 دسامبر | +1 | |||
| 05 دسامبر | 0 | |||
| 04 دسامبر | +2 | |||
| 03 دسامبر | +1 | |||
| 02 دسامبر | 0 | |||
| 01 دسامبر | 0 |
پستهای کانال
Ab aap log apna khud ka Compiler bot bana sakte hain easily 🥳🥳🔥
Apne manpasand name aur username se
Create your own
By using @CloneCompiler_bot
See full details: Click Here
| 2 | // Decimal to Hexadecimal By C
#include<stdio.h>
int main()
{
int rem,num,i=1,j;
char Hexa[50];
printf("Enter Decimal no: ");
scanf("%d", &num);
if(num!=0){
while(num!=0){
rem = num % 16;
if(rem<10)
rem=rem+48;
else
rem=rem+55;
Hexa[i++]=rem;
num=num/16;
}}
else{
printf("0");
}
printf("\nHexadecimal Number is ");
for(j=i;0<j;j--){
printf("%c",Hexa[j]);
}
return 0;
} // @C_Codes_pro | 141 |
| 3 | /cc
// Decimal to Hexadecimal By C
#include<stdio.h>
int main()
{
int rem,num,i=1,j;
char Hexa[50];
printf("Enter Decimal no: ");
scanf("%d", &num);
if(num!=0){
while(num!=0){
rem = num % 16;
if(rem<10)
rem=rem+48;
else
rem=rem+55;
Hexa[i++]=rem;
num=num/16;
}}
else{
printf("0");
}
printf("\nHexadecimal Number is ");
for(j=i;0<j;j--){
printf("%c",Hexa[j]);
}
return 0;
} // @C_Codes_pro | 1 |
| 4 | Learn in 55 seconds
How to run codes in telegram 👇
https://t.me/logicBots/163 | 128 |
| 5 | Give code sujjestion here 👇 | 154 |
| 6 | //To check leap year
#include<stdio.h>
int main() {
int year;
printf("Enter a year that you want to check:");
scanf("%d",&year);
if((year%4==0 &&year%100!=0) ||( year%400==0))
printf("%d is a leap year",year);
else
printf("%d is not a leap year",year);
return 0;
} | 156 |
| 7 | /cc //To check leap year
#include<stdio.h>
int main() {
int year;
printf("Enter a year that you want to check:");
scanf("%d",&year);
if((year%4==0 &&year%100!=0) ||( year%400==0))
printf("%d is a leap year",year);
else
printf("%d is not a leap year",year);
return 0;
} | 1 |
| 8 | // Dowhile loop to ask user for input until a valid number is entered:
#include <stdio.h>
int main() {
int num;
do {
printf("Enter a number between 1 and 10: ");
scanf("%d", &num);
} while(num < 1 || num > 10);
printf("You entered: %d", num);
return 0;
} | 143 |
| 9 | /cc
// Dowhile loop to ask user for input until a valid number is entered:
#include <stdio.h>
int main() {
int num;
do {
printf("Enter a number between 1 and 10: ");
scanf("%d", &num);
} while(num < 1 || num > 10);
printf("You entered: %d", num);
return 0;
} | 1 |
| 10 | /cc // Do-while loop to ask user for input until a valid number is entered:
#include <stdio.h>
int main() {
int num;
do {
printf("Enter a number between 1 and 10: ");
scanf("%d", &num);
} while(num < 1 || num > 10);
printf("You entered: %d", num);
return 0;
} | 1 |
| 11 | /cc
// Do-while loop to ask user for input until a valid number is entered:
#include <stdio.h>
int main() {
int num;
do {
printf("Enter a number between 1 and 10: ");
scanf("%d", &num);
} while(num < 1 || num > 10);
printf("You entered: %d", num);
return 0;
} | 1 |
| 12 | 20 Questions on C loops:
`1. Write a C program to print all even numbers between 1 and 100 using a for loop.
2. Write a C program to calculate the sum of all odd numbers between 1 and 50 using a while loop.
3. Write a C program to print the multiplication table of a given number using a for loop.
4. Write a C program to find the factorial of a given number using a for loop.
5. Write a C program to check if a given number is prime or not using a for loop.
6. Write a C program to print the Fibonacci series up to a given number using a for loop.
7. Write a C program to find the sum of all elements in an array using a for loop.
8. Write a C program to find the largest element in an array using a for loop.
9. Write a C program to find the smallest element in an array using a for loop.
10. Write a C program to reverse an array using a for loop.
11. Write a C program to sort an array in ascending order using a for loop.
12. Write a C program to sort an array in descending order using a for loop.
13. Write a C program to find the sum of the digits of a given number using a while loop.
14. Write a C program to check if a given number is a palindrome or not using a while loop.
15. Write a C program to convert a decimal number to binary using a while loop.
16. Write a C program to convert a binary number to decimal using a while loop.
17. Write a C program to find the GCD of two numbers using a while loop.
18. Write a C program to find the LCM of two numbers using a while loop.
19. Write a C program to print all Armstrong numbers between 1 and 1000 using a for loop.
20. Write a C program to print all perfect numbers between 1 and 1000 using a for loop.` | 134 |
| 13 | // Recursion in C involves a function calling itself directly or indirectly. Here's an example of a recursive function in C:
#include <stdio.h>
void countdown(int n) {
if (n > 0) {
printf("%d ", n); // Print the current number
countdown(n - 1); // Call the function itself with a smaller number
}
}
int main() {
int num = 5;
countdown(num);
return 0;
} | 145 |
| 14 | /cc // Recursion in C involves a function calling itself directly or indirectly. Here's an example of a recursive function in C:
#include <stdio.h>
void countdown(int n) {
if (n > 0) {
printf("%d ", n); // Print the current number
countdown(n - 1); // Call the function itself with a smaller number
}
}
int main() {
int num = 5;
countdown(num);
return 0;
} | 1 |
| 15 | इस बाॅट में कोड रन करना सीखें।
Learn how to run code in this bot.
लाभ (Advantage):
आप किसी को भी रियल टाइम में कोड का आउटपुट दिखा सकते हो, जिससे अगर आपके कोड में कोई गलती है तो वह भी सरलता से एक दूसरे से डिस्कस करके साॅल्व कर सकते हो।
See features written in pic ☝️☝️
You can show the output of the code to anyone in real time, so that if there is any mistake in your code, they can easily solve it by discussing with each other.
Full tutorial: https://t.me/logicBots/147 | 183 |
| 16 | //To check leap year
#include<stdio.h>
int main() {
int year;
printf("Enter a year that you want to check:");
scanf("%d",&year);
if((year%4==0 &&year%100!=0) ||( year%400==0))
printf("%d is a leap year",year);
else
printf("%d is not a leap year",year);
return 0;
} | 188 |
| 17 | /cc
//To check leap year
#include<stdio.h>
int main() {
int year;
printf("Enter a year that you want to check:");
scanf("%d",&year);
if((year%4==0 &&year%100!=0) ||( year%400==0))
printf("%d is a leap year",year);
else
printf("%d is not a leap year",year);
return 0;
} | 1 |
| 18 | // Check Number
#include <stdio.h>
int main() {
int num;
printf("Enter Number: ");
scanf("%d", &num);
if(num>0){
printf("This Number is positive");
}
else if(num<0){
printf("This Number is negetive");
}
else if(num == 0){
printf("This Number is zero");
}
return 0;
} | 228 |
| 19 | /cc
// Check Number
#include <stdio.h>
int main() {
int num;
printf("Enter Number: ");
scanf("%d", &num);
if(num>0){
printf("This Number is positive");
}
else if(num<0){
printf("This Number is negetive");
}
else if(num == 0){
printf("This Number is zero");
}
return 0;
} | 1 |
| 20 | Notes 📝 :
Telegram.me/BCA_Sem1_Notes
Telegram.me/BCA_Sem2_Notes
Telegram.me/BCA_Sem3_Notes
Telegram.me/BCA_Sem4_Notes
Telegram.me/BCA_Sem5_Notes
Telegram.me/BCA_Sem6_Notes
Code practice Channels:
Telegram.me/C_Codes_pro
Telegram.me/CPP_Codes_pro
Telegram.me/Python_Codes_pro
Telegram.me/Java_Codes_Pro
Telegram.me/Nodejs_Codes_Pro
Info channel:
Telegram.me/Btech_bca_mca
Discussion groups:
Telegram.me/bca_mca_btech
Telegram.me/bca_group_ignou
Learn coding:
Youtube.com/IgnouStudyCenter | 220 |
