#include<stdio.h>
#include<conio.h>
void main()
{
void swap(int*,int*);
int a,b;
clrscr();
printf("Enter the value of a = ");
scanf("%d",&a);
printf("Enter the value of b = ");
scanf("%d",&b);
swap (&a,&b);
printf("The value of a = %d \nThe value of b = %d",a,b);
getch();
}
void swap(int *a,int *b)
{
int temp;
temp=*a;
*a=*b;
*b=temp;
}
Tuesday, 22 September 2020
C Program to find the number is a Prime Number or Not
#include<stdio.h>
#include<conio.h>
void main()
{
int num,i;
clrscr();
printf("Enter the number = ");
scanf("%d",&num);
i=2;
while (i<=num-1)
{
if (num%i==0)
{
printf("%d is not a prime number",num);
break;
}
i++;
}
if (i==num)
{
printf("%d is a Prime Number",num);
}
getch();
}
C program to find the sum of digits of any 5 digit number
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr(); //to add the digits of any five digits number
int p,q,r,s,t,u,v,w,x,y;
printf("enter any number of five digit\n for which you want to add its digits\n");
scanf("%d",&p);
q=p%10;
r=p/10;
s=r%10;
t=r/10;
u=t%10;
v=t/10;
w=v%10;
x=v/10;
y=q+s+u+w+x;
printf("%d",y);
getch();
}
C Program to find the factorial of a number using Recursion
September 22, 2020
Posted by Knowledge Bite
C Program, factorial, factorial of a number, recursion
1 comment
#include <stdio.h>
long factorial(int n)
{
if (n == 0)
return 1;
else
return(n * factorial(n-1));
}
void main()
{
int number;
long fact;
printf("Enter a Number: ");
scanf("%d", &number);
fact = factorial(number);
printf("Factorial of %d is %ld\n", number, fact);
getch();
}
Thursday, 23 July 2020
11th Bipartite Settlement Salary Calculator
After signing the mou between iba and ufbu now everyone interested to know the new basic and amount of increment in their salary.
so here is the salary calculator.
check it out
11th Bipartite Settlement Circular
on 22nd july,2020 banker's long pending 11th bipartite settlement is done in mumbai.
11th bipartite settlement is as follows
Now every one interested to know the new salary.
Sunday, 7 June 2020
Last Line of Punjabi Alphabets
June 07, 2020
Posted by Knowledge Bite
how to learn punjabi step by step, Punjabi, Punjabi Language Tutorial
No comments
In the previous lesson you have learn't Seventh line of five letters of Punjabi language
i.e. ਯ ਰ ਲ ਵ ੜ. which you can access again for practice by clicking here.
Now we are going to teach you the next 5 letters of the Punjabi language which are
ਸ਼ ਖ਼ ਗ਼ ਜ਼ ਫ਼ ਲ਼
Sr. No. | Letter | Pronunciation | Word | Image Related to word |
36. | ਸ਼ | SHA | ਸ਼ਲਗਮ | |
37. | ਖ਼ | KHA | ਖ਼ਰਬੂਜਾ | |
38. | ਗ਼ | GAA | ਗ਼ਲੀਚਾ | |
39. | ਜ਼ | JAA | ਜ਼ੰਜੀਰ | |
40. | ਫ਼ | FAA | ਫ਼੍ਰਾੱਕ | |
41. | ਲ਼ | LAA | ਪੀਪਲ਼ |
These are the Last letter's of Punjabi language. these are newly added letter's before them there are only 35 letters in punjabi language.
For practicing some other words from these letters click here.
Now we learn two letter words.