All Questions

510 questions and answers

962 views

Write a C program to find minimum among three numbers.

#include<stdio.h> #include<conio.h> main() { int a,b,c,min; printf("\n enter three numbers"); scanf("%d %d %d",&a,&b,&c);

Demo Teacher
added 2 years ago
981 views

Write a C program to print the fibonacci series.

#include<stdio.h> #include<conio.h> main() { int n,f1,f2,f3; printf("\n enter how many number"); scanf("%d",&n);

Demo Teacher
added 2 years ago
928 views

Write a C program to convert any number into word.

#include<stdio.h> #include<conio.h> main() { int n,x,y; printf("\n Enter any number");

Demo Teacher
added 2 years ago
964 views

Write a C program to find a number is AMSTRONG or NOT.

#include<stdio.h> #include<conio.h> main() { int n,x,digit,s=0; printf("\n enter any number");

Demo Teacher
added 2 years ago
959 views

Write a C program to find a no. is PALINDROME or NOT.

#include<stdio.h> #include<conio.h> main() { int n,x,digit,r=0; printf("\n enter any number");

Demo Teacher
added 2 years ago
952 views

Write an program to generate Pascal’s triangle.

#include <stdio.h> #include <conio.h> main() { int a[10][10],i,j,k,n; clrscr(); printf("Enter the height of the pascal traingle");

Demo Teacher
added 2 years ago
1013 views

Write a C- Program To Count The Lines, Words, Characters In A Given Text.

#include <conio.h> #include <stdio.h> main() { char text[200]; int i,l,ch,w,sp; clrscr();

Demo Teacher
added 2 years ago
929 views

Write a C- Program To Determine If The Given String Is A Palindrome Or Not.

#include <stdio.h> #include <conio.h> main() { int i,n,j,len=0; char str[30]; clrscr();

Demo Teacher
added 2 years ago
944 views

Write a C Program That Uses Functions To Delete N – Charactres From A Given Position In A Given String.

#include <stdio.h> #include <conio.h> void del_str(char [],int, int); main() { int n,p; char str[30]; clrscr();

Demo Teacher
added 2 years ago
959 views

Write a C-Program That Uses Functions To Insert A Sub-String In To A Given Main String From A Given Position.

/* Declaring C-Libraries */ #include <stdio.h> #include <conio.h> /* Declaring function prototypes */ void ins_substr(char [], char [], int, int);

Demo Teacher
added 2 years ago