C program to convert given number of any base to any base.
Any base to any base conversion in c. #include<stdio.h> void convert(int d, i…
#include<stdio.h> #include<conio.h> int main() { int *a; int i,j,n,c=1,temp,index; clrscr(); printf("Enter Ar…
Read more#include<stdio.h> #include<conio.h> int main() { int a[50],pos,k,n; clrscr(); printf("Enter size of Array:");…
Read more#include<stdio.h> #include<conio.h> int main() { int a[50],pos,number,i,n; clrscr(); printf("Enter size of Array:&…
Read more#include<stdio.h> #include<conio.h> int main() { int i,n,c,a=1; clrscr(); printf("Enter the number of rows of Floy…
Read more#include<stdio.h> int Calculate_GCD(int x,int y); int main() { int a, b, gcd; printf("Enter two numbers:\n"); scanf…
Read more#include<stdio.h> #include<conio.h> int main() { int a[50][50],b[50][50],c[50][50]; int i,j,m,n,k,l; clrscr(); pri…
Read more#include<stdio.h> #include<conio.h> int main() { int B,base,rem,num,number,flag=1,n,r; clrscr(); printf("Enter a B…
Read more#include<stdio.h> #include<string.h> int main() { char str[150],c; int temp=0,i; printf("Enter a string: "); fgets(s…
Read more#include<stdio.h> #include<conio.h> float Rect(float l, float b) { return(l*b); } float Tri(float b, float h) { return (0.5*b*h)…
Read more#include<stdio.h> #include<string.h> int main() { char str[150]; char ch; int flag=0,j=0,count=0; printf("Enter a String: &qu…
Read more#include<stdio.h> int main() { int i,j,n; printf("Enter number of rows:"); scanf("%d",&n); for(i=0;i<n;i++) {…
Read more#include<stdio.h> int main() { int L,H,num,B,rem,base,i; printf("Enter lower range:"); scanf("%d",&L); printf(&qu…
Read more#include<stdio.h> #include<string.h> int main() { char str[300]; int i=0; printf("Enter Uppercase String:"); fgets(str,3…
Read more#include<stdlib.h> #include<stdio.h> int main() { int *p; int n,i,j,flag=0,temp=0; printf(" Enter size of Array:"); …
Read more#include<stdio.h> #include<stdlib.h> int main() { int **a; int i,j,m,n,sum=0; printf("Enter number of rows:"); …
Read more#include<stdio.h> #include<string.h> #define MAX 100 int main() { char str[MAX]; int i=0,word=1; printf("Enter a …
Read more#include<stdio.h> #include<string.h> int main() { char str[100]; int u=0,l=0,d=0,s=0,i; printf("Enter any string:\n");…
Read more#include<stdio.h> #include<stdlib.h> int main() { int **p; int i,j,k,l,m,n; printf("\n Enter number of rows:"); …
Read moreAny base to any base conversion in c. #include<stdio.h> void convert(int d, i…
Social Plugin