C

C Programming
Challenging problems

SMS Language In C

In this tutorial, we will learn how to convert plain English text message into SMS Language In C Programming language. What is SMS Language? SMS Language is also known as slang used in mobile phones that are trendy these days. SMS Language(Abbreviation) English word s yes u you 2day today y why The above table showcases some of […]

Read More
C Programming
Challenging problems

ENCODING program In C Programming Language

In this C Programming tutorial, We will learn how to Encoding in C Programming Language. We are going to implement a C program based on an interesting table with some rules. I  will advise you to first try to solve it with yourself and if you need any help then check out the code mention […]

Read More
C Programming
Challenging problems

Cipher-decipher Program in C

In the language of cryptography, ciphertext refers to a message encoded with a particular key. Plaintext refers to the original, unencoded text. In this problem, both the ciphertext and the key are simply strings of upper-case characters. The ciphertext is generated from the plaintext by “adding” corresponding characters of the plaintext and the key together. […]

Read More
C Programming

Patterns Program in C : 9 numerical patterns and its C program

In this tutorial, we will learn about how to write a C Program for a different numerical pattern. Pattern 1: 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1   C Program for PATTERN 1: #include<stdio.h> int main() { int i,j,n; scanf(“%d”,&n); for(i=0;i<n;i++) { for(j=1;j<=n-i;j++) { printf(“%d “,j); } […]

Read More
C Programming

HISTORY OF C Programming Language

In this article, we are going to talk about an interesting comprehensive History of C programming language and the time when C was developed Microsoft did not exist. C was originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs who also created  UNIX. The main Purpose of C programming language was to rewrite the […]

Read More
C Programming

Maximum of three number program in C

This tutorial will talk about how to write a C program to find the maximum of Three number in C Programming Language. Variables used in this Program: num1,num2,num3 : Integers C Program to find Maximum of three number #include<stdio.h> int main() { int num1,num2,num3; scanf(“%d”,&num1); scanf(“%d”,&num2); scanf(“%d”,&cnum3; if(num1>num2&&num1>num3) { printf(“%d is the maximum number”,num1); } […]

Read More
C Programming

Largest of two numbers program in C

#include<stdio.h> int main() { int a,b; printf(“Enter the first number\n”); scanf(“%d”,&a); printf(“Enter the second number\n”); scanf(“%d”,&b); if(a>b) printf(“1st is greater”); else printf(“2nd is greater”); return 0; }

Read More
C Programming

Calculate your age program in C

Calculate your age program in C Programming is an interesting problem to solve. Do you want to know anybody’s age just by entering the “year of birth” of that person? Check out the code after giving it a try by yourself. Calculate your age program in C #include<stdio.h> int main() { int current_year,b,d; printf(“Enter Year […]

Read More
C Programming

Months using switch program in C

To know the “Month” program in C Programming language will display the corresponding month for a numeric number. Example: 4 corresponds to April. And if the Month doesn’t correspond to the provided number, then it will return an Invalid month. Month Program In C Programming Language #include < stdio.h >   int main() {     int […]

Read More
C Programming

Center of a line (when one end coordinates and length is given) program in c

#include<stdio.h> int main() { int i,j,k; printf(“Enter the x-coordinate of the vertex\n”); scanf(“%d”,&i); printf(“Enter the y-coordinate of the vertex\n”); scanf(“%d”,&j); printf(“Enter the length of a side\n”); scanf(“%d”,&k); printf(“The centre of line is at (%d,%d)”,(i+(k/2)),(j+(k/2))); return 0; }

Read More