10 nob input Display Prime or composite.
#include<stdio.h> int main () { int i,n[ 10 ],c = 0 ; printf ( "Enter a number \n " ); for (i = 0 ;i <...
A blog about programming languages and this Blog specially Create for learning languages like C language,C++ Language, Data Structure and Algorithm.
10 nob input Display Prime or composite.
#include<stdio.h> int main () { int i,n[ 10 ],c = 0 ; printf ( "Enter a number \n " ); for (i = 0 ;i <...
input Nob Search and sorting. using Array
#include<stdio.h> int main () { int r[ 20 ],e,s,a; printf( "Enter array size" ); scanf( "%d" , ...
10 nob input and display odd Number
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #include<stdio.h> int main () { int size,b,i; printf(...
20 nob input and display even Number.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include<stdio.h> main () { int n[ 20 ],i,j; printf( "Enter any 2...
Display Location and Show its Address.
1 2 3 4 5 6 7 8 9 #include<stdio.h> main() { int i,n[] = { 10 , 14 , 16 , 81 , 99 , 12 }; for (i = 0 ;i < 6 ;i ++ ) { pr...
Input data of 10 Student from user & print Minimum marks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46...
Input data of 10 Employ from user & print Minimum pay of Employ
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46...
Input data of 10 Doctor from user & print Minimum pay of Doctor.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46...
Input data of 10 book from user & print Minimum price book data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46...
Input four digits nob & print sum of 1st & last digit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 #include<stdio.h> main() { int num,sum,a,b,c,d,d1,d2,d3,d4; prin...
A program input five digit nob and print sum of its digits.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 #include<stdio.h> main() { int num,sum,a,b,c,d,e,d1,d2,d3,d...
Print Area & perimeter of Triangle & Area & circumference of the circle.
#include<stdio.h> main() { float l,b,r,p,c,A; printf( "Enter the lenght of tringle= \n " ); scanf( "%f" , ...
print series 10 to 1 and 1 to 10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 #include <stdio.h> void main () { int n,i; n = 10 ; i = 1 ; while (n >= 1 ...
print Series -1 2 -3 4 -5 6 -7........
1 2 3 4 5 6 7 8 9 10 11 12 13 #include <stdio.h> int main () { int s,i; for (i = 1 ,s = 1 ;i <= 10 ;i ++ ) ...
input from user and print factorial
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #include <stdio.h> int main () { int c, n, fact = 1 ; printf( "En...
Print Table of input nob from user
1 2 3 4 5 6 7 8 9 10 11 12 13 14 #include<stdio.h> int main () { int n,i = 1 ; printf( "Table of =" ); sc...
What is for loop
'for' loop:- for loop executed one or more statements for a specified number of times.This loop is a...
What is do-while Loop
'do-while' Loop:- do while is an iterative in c language. THis loop executes one or more ...
What is While loop
'while' Loop:- while loop is the simplest loop of c language. This loop executes one or more sta...
What is Loop
Loops:- A type of control structure that repeats a statements or set of statements is known as Looping structure.it is also...