SlideShare a Scribd company logo
1 of 32
Download to read offline
! " # $
% &
' ! " $
( !
) !
* + ,
- $
! " !
! " !
! # . --
/
% 0
'
(
) 1 . 2 . !
3 4
* , $ 5 4
-
! " 3 661
0 #
0
%
++++
7 8 !9
7 8 !9
$ :;
<
= >
:;>
:?, # ?;>
:?@ ?= ;>
A B: C ;D >
:? E@ ?= ;>
!:;>
F
++++
7 8 !9
7 8 !9
:;
<
==#>
:;>
:?G ! E?;>
:?@ ?= ;>
:?G ! E@ ?= B ;>
:?G ! E@ ?= B ;>
:?G ! # !E?;>
:?@ @ ?= = #;>
:?G ! E@ ?=B#;>
:?G ! E@ ?= B:C#;;>
!:;>
F
6=6=6=6= HHHH ==== HHHH EEEE
Definition of leap year:
Rule 1: A year is called leap year if it is divisible
by 400.
For example: 1600, 2000 etc leap year while 1500, 1700
are not leap year.
Rule 2: If year is not divisible by 400 as well as 100
but it is divisible by 4 then that year are also leap
year.
For example: 2004, 2008, 1012 are leap year.
Leap year logic or Algorithm of leap year or Condition
for leap year:
IF year MODULER 400 IS 0
THEN leap_year
ELSE IF year MODULER 100 IS 0
THEN not_leap_year
ELSE IF year MODULER 4 IS 0
THEN leap_year
ELSE
not_leap_year
++++
7 8 !9
:;<
>
:?, E ?;>
:?@ ?= ;>
::: @ AA-; : @ --IA-;;JJ: @ --AA-;;
:?@ ?= ;>
:?@ ?= ;>
->
F
E
, E - -
- -
++++ !!!! " # $" # $" # $" # $
7 8 !9
7 8 !9
$ :;
<
>
:;>
:?, ! ?;>
:?@ ?= ;>
: 9 );
<
:?, # 1 ?;>
F
:?K , # 1 ?;>
!:;>
F
++++ &&&&
7 8 !9
7 8 !9
$ :;
<
= = = = %= $ >
:;>
:?, ! " ?;>
:?@ @ @ @ @ ?= = = = = %;>
$ A: C C C C %;D%>
: $ 9A*- $ 8A --;
:?5 H& ?;>
: $ 9A)- $ 8A)*;
:?, H& ?;>
: $ 9A(- $ 8A(*;
:? H& ?;>
: $ 9A'- $ 8A'*;
:?L H& ?;>
: $ 9A%- $ 8A%*;
:?3 H& ?;>
: $ 9A - $ 8A *;
:?MH& ?;>
: $ 9A - $ 8A *;
:?0H& ?;>
!:;>
! " $! " $! " $! " $
7 8 !9
7 8 !9
7 8 ! !9
$ :;
<
= >
= = >
:;>
:?G # E?;>
:?@ ?= ;>
A @ >
: AA-;
:? ! $ G ?;>
:? ! G ?;>
!:;>
F
++++ ! #! #! #! # ####
7 8 !9
:;<
=#= >
:?G , # E ?;>
:?@ @ @ ?= = #= ;>
: H#9- H 9-;
:?G & E@ ?= ;>
:#H 9-;
:?G & # E@ ?=#;>
:?G & E@ ?= ;>
->
F
++++ ! #! #! #! #
7 8 !9
:;<
=#= =# >
:?G , # E?;>
:?@ @ @ ?= = #= ;>
# A: 9# 9 N E#9 N#E ;>
:?G ! # # E@ ?=# ;>
->
F
++++%%%% & !& !& !& !
7 8 !9
7 8 !9
:;
<
=#= >
:;>
:?G ! # E?;>
:?@ @ @ ?= = #= ;>
:: 9#; : 9 ;;
:?G ! # # E@ ?= ;>
:#9 ;
:?G ! # # E@ ?=#;>
:?G ! # # E@ ?= ;>
!:;>
F
++++'''' !!!!
7 8 !9
7 8 !9
:;
<
=#= >
:;>
:?G ! # E?;>
:?@ @ @ ?= = #= ;>
:: 8#; : 8 ;;
:?G ! # E@ ?= ;>
:#8 ;
:?G ! # E@ ?=#;>
:?G ! # E@ ?= ;>
!:;>
F
++++(((( + ,+ ,+ ,+ ,
7 8 !9
7 8 !9
7 8 ! !9
$ :;
<
=#= = = = >
:;>
:?, =#= ?;>
:?@ @ @ ?= = #= ;>
A#B#H B B >
: 9-;
<
A:H#C : ;;D: B ;>
A:H#H : ;;D: B ;>
:? + , E@ @ ?= = ;>
F
:? ?;>
!:;>
F
!!!!
++++**** $$$$
7 8 !9
7 8 !9
$ :;
<
= A-= >
:;>
:?, ?;>
:?@ ?= ;>
. ! : 9-;
<
A @ ->
A B -C >
A D ->
F
:? $ E@ ?= ;>
!:;>
F
Definition of Armstrong number or what is an Armstrong
number:
Definition according to c programming point of view:
Those numbers which sum of the cube of its digits
is equal to that number are known as Armstrong numbers.
For example 153 since 1^3 + 5^3 + 3^3 = 1+ 125 + 9 =153
Other Armstrong numbers: 370,371,407 etc.
In general definition:
Those numbers which sum of its digits to power of
number of its digits is equal to that number are known
as Armstrong numbers.
Example 1: 153
Total digits in 153 is 3
And 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153
Example 2: 1634
Total digits in 1634 is 4
And 1^4 + 6^4 + 3^4 +4^4 = 1 + 1296 + 81 + 64 =1634
Examples of Armstrong numbers: 1, 2, 3, 4, 5, 6, 7, 8,
9, 153, 370, 371, 407, 1634, 8208, 9474, 54748, 92727,
93084, 548834, 1741725
++++ ---- ! " !! " !! " !! " !
7 8 !9
7 8 !9
:;
<
= = = >
:;>
:?G # E?;>
:?@ ?= ;>
A >
A->
. ! : 9-;
<
A @ ->
A C: B B ;>
A D ->
F
: AA ;
:?@ K # ?= ;>
:?@ K # ?= ;>
!:;>
F
Definition of prime number:
A natural number greater than one has not any other
divisors except 1 and itself. In other word we can say
which has only two divisors 1 and number itself. For
example: 5
Their divisors are 1 and 5.
Note: 2 is only even prime number.
Logic for prime number in c
We will take a loop and divide number from 2 to
number/2. If the number is not divisible by any of the
numbers then we will print it as prime number.
Example of prime numbers : 2, 3, 5, 7, 11, 13, 17, 19,
23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79,
83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137,
139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193,
197, 199 etc.
++++ ! " !! " !! " !! " !
7 8 !9
7 8 !9
$ :;
<
= = A->
:;>
:? # ?;>
:?@ ?= ;>
. ! :8A ;
<
: @ AA-;
A C >
A C >
F
: AA ;
:? @ % ?= ;>
:? @ ?= ;>
F
!:;>
F
++++ ! # . --! # . --! # . --! # . --
DB ! # . --BD
7 8 !9
7 8 !9
$ :;
<
= A >
:;>
. ! : 8A --;
<
A >
. ! :8A ;
<
: @ AA-;
# ">
CC>
F
:AA ;
:?G @ ?= ;>
CC>
F
!:;>
F
++++ ! " . ! ! #! " . ! ! #! " . ! ! #! " . ! ! #
7 8 !9
:;<
=== = A-= >
:?, # E ?;>
:?@ ?= ;>
A >
. ! : ;<
A =A >
A @ ->
. ! :8A ;<
A B >
CC>
F
A C >
A D ->
F
: AA ;
:?@ # ?= ;>
:?@ # ?= ;>
->
F
E
, # E %
% #
+ ! " !+ ! " !+ ! " !+ ! " !
7 8 !9
7 8 !9
$ :;
<
="A = >
:;>
:? # ?;>
:?@ ?= ;>
. ! : 8-;
<
: @ "AA-;
"CC>
F
: AA";
:? ?;>
:? ?;>
!:;>
F
++++ # . --# . --# . --# . --
7 8 !9
7 8 !9
$ :;
<
= A >
:;>
. ! : 8A --;
<
A >
. ! :8A ;
<
: @ AA-;
# ">
CC>
F
:AA ;
:?G @ ?= ;>
CC>
F
!:;>
F
++++ ////
7 8 !9
7 8 !9
$ :;
<
= >
>
:;>
:?G # E?;>
:?@ ?= ;>
A->
. ! : 9-;
<
A @ ->
A C >
A D ->
F
:? ! E@ ?= ;>
!:;>
F
++++
Factorial of number is defined as:
Factorial (n) = 1*2*3 … * n
For example: Factorial of 5 = 1*2*3*4*5 = 120
Note: Factorial of zero = 1
++++ 0000
7 8 !9
7 8 !9
:;
<
== >
:;>
:?G # ?;>
:?@ ?= ;>
A >
A >
. ! :9-;
<
A B >
HH>
F
:? ! @ E@ ?= =;>
!:;>
F
Definition of Palindrome number or what is palindrome
number?
A number is called palindrome number if it is remain
same when its digits are reversed. For example 121 is
palindrome number. When we will reverse its digit it
will remain same number i.e. 121
Palindrome numbers examples: 0, 1, 2, 3, 4, 5, 6, 7, 8,
9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111, 121,
131, 141, 151, 161, 171, 181, 191 etc.
++++
7 8 !9
7 8 !9
:;
<
= = = >
:;>
:?G # ?;>
:?@ ?= ;>
A >
A->
. ! : 9-;
<
A @ ->
A C: B B ;>
A D ->
F
: AA ;
:?@ K O # ?= ;>
:?@ K # ?= ;>
!:;>
F
Definition of perfect number or what is perfect
number?
Perfect number is a positive number which sum of
all positive divisors excluding that number is equal to
that number. For example 6 is perfect number since
divisor of 6 are 1, 2 and 3. Sum of its divisor
is
1 + 2+ 3 =6
Note: 6 is the smallest perfect number.
Next perfect number is 28 since 1+ 2 + 4 + 7 + 14 = 28
Some more perfect numbers: 496, 8128
++++
7 8 !9
7 8 !9
:;
<
== >
:;>
:?G # ?;>
:?@ ?= ;>
A >
A->
. ! :8 ;
<
: @ AA-;
A C >
CC>
F
: AA ;
:?@ K # ?= ;>
:?@ K # ?= ;>
!:;>
F
OOOO MMMM HHHH !!!!
++++ ! "! "! "! "
7 8 !9
7 8 !9
$ :;
<
= A-= >
:;>
:? ! ?;>
:?@ ?= ;>
<
A @ ->
A B -C >
A D ->
F
. ! : 9-;>
:? ?;>
: AA ;
<
:? E@ ?= ;>
F
!:;>
F
++++ ! "! "! "! "
7 8 !9
7 8 !9
$ :;
<
="A >
:;>
:? ?;>
:?@ ?= ;>
<
: @ "AA-;
<
:?6 ?;>
P :-;>
F
"CC>
F
. ! :"8 ;>
:? ?;>
!:;>
F
++++ $$$$
7 8 !9
7 8 !9
$ :;
<
= A-= >
:? ! ?;>
:?@ ?= ;>
<
A @ ->
A B -C >
A D ->
F
. ! : 9-;>
:? ! $ E@ ?= ;>
!:;>
F
++++ $$$$
7 8 !9
7 8 !9
7 8 ! !9
$ :;
<
= = A-= A =PA = >
:;>
:?, ! ?;>
:?@ ?= ;>
:?, . ! ! # $ ?;>
:?@ ?= ;>
<
A @ ->
:?@ ?=;>
A C >
A B >
A D ->
PCC>
F
. ! :P8A ;>
:?G E@ ?= ;>
:?G Q E@ ?= ;>
!:;>
F
. !. !. !. !HHHH3333
++++ 1 .1 .1 .1 . 2222 . ! 3 4. ! 3 4. ! 3 4. ! 3 4
7 8 !9
7 8 !9
$ :;
<
! !>
:;>
:?G ! E?;>
:?@ ?= !;>
. !: !;
<
R RE
:?@ $ . ?= !;>
# ">
R, RE
:?@ $ . ?= !;>
# ">
R6RE
:?@ $ . ?= !;>
# ">
R5 RE
:?@ $ . ?= !;>
# ">
RO RE
:?@ $ . ?= !;>
# ">
E
:?@ $ . ?;>
F
!:;>
F
++++ , $ 5 4, $ 5 4, $ 5 4, $ 5 4
7 8 !9
:;
<
#>
:2 K # 4;>
:2@ 4= #;>
. !: # @ ;
<
- E :? ! # @ $ G ?= #;>
E :? ! # @ G ?= #;>
# ">
F
F
0000 HHHHSSSS
++++
7 8 !9
:;<
>
T = PT >
:?, ! . E ?;>
:?@ ?= T ;>
:?, ! ! ! E ?;>
:?@ ?= PT ;>
:?S $ E ?;>
: A T > 8A PT > CC;<
::: @ AA-; : @ --IA-;;JJ: @ --AA-;;
:?@ ?= ;>
F
->
}
+ ! "+ ! "+ ! "+ ! " 3 6613 6613 6613 661
7 8 !9
7 8 !9
$ :;
<
>
:;>
:A'%> 8A*-> CC;
:?G @ A@ ?==;>
!:;>
F
++++ 0 #0 #0 #0 #
7 8 !9
7 8 !9
$ :;
<
= A-= #A == >
:;>
:? # ?;>
:?@ ?= ;>
:A-> 8A > CC;
<
A >
A #>
#A C >
:?@ ?= #;>
F
!:;>
F
+ 3 # --+ 3 # --+ 3 # --+ 3 # --
7 8 !9
:;<
== >
= P>
:?, ! E ?;>
:?@ ?= ;>
:?, ! P E ?;>
:?@ ?= P;>
:? # $ E ?;>
: A > 8A P> CC;<
A >
A ->
. ! :8 ;<
: @ AA-;
A C >
CC>
F
: AA ;
:?@ ?= ;>
F
->
F
Sample output:
Enter the minimum range: 1
, ! P E -
# $ E '
++++ ---- ! " !! " !! " !! " !
7 8 !9
:;<
= = = >
= P>
:?, ! E ?;>
:?@ ?= ;>
:?, ! P E ?;>
:?@ ?= P;>
:? # $ E ?;>
: A > 8A P> CC;<
A >
A ->
. ! : IA-;<
A @ ->
A D ->
A C: B B ;>
F
: AA ;
:?@ ?= ;>
F
->
F
++++
BBBB
BBBBBBBB
BBBBBBBBBBBB
BBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBB
7 8 !9
7 8 !9
$ :;
<
= =U>
:;>
:? # ?;>
:?@ ?= ;>
:A-> 8A > CC;
<
:UA->U8A >UCC;
<
:?B?;>
F
:?G ?;>
F
!:;> F
++++
BBBB
BBBBBBBB
BBBBBBBBBBBB
BBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBB
BBBBBBBBBBBB
BBBBBBBB
BBBB
7 8 !9
7 8 !9
$ :;
<
= =U>
:;>
:? # ?;>
:?@ ?= ;>
:UA >U8A >UCC;
<
:A > 8AU> CC;
<
:?B?;>
F
:?G ?;>
F
:UA >U9A->UHH;
<
:AU> 9A > HH;
<
:?B?;>
F
:?G ?;>
F
!:;>
F
++++
7 8 !9
7 8 !9
$ :;
<
= =U>
:;>
:? # ?;>
:?@ ?= ;>
:UA >U8A >UCC;
<
:A > 8AU> CC;
<
:?@ ?=;>
F
:?G ?;>
F
:UA >U9A->UHH;
<
:AU> 9A > HH;
<
:?@ ?=;>
F
:?G ?;>
F
!:;>
F
++++ program to display ASCII values
7 8 !9
:;<
>
:A-> 8A %%> CC;
:? 3 66$ ! @ E @ G ?==;>
->
F
++++ 0000
7 8 !9
:;<
=U= ="A >
:?, ! E ?;>
:?@ ?= ;>
:?0S5 VMR 6 K & S, G G ?;>
:A > 8A > CC;<
:UA >U8A >UCC="CC;
:? @ ?=";>
:?G ?;>
F
->
F
E
, ! E -
0S5 VMR 6 K & S,
% '
( ) * -
%
' ( ) * -
% ' ( )
* - % '
( ) * - %
' ( ) * %- % % % % %%
++++ 3333
7 8 !9
:;<
==U=">
:?, ! ?;>
:?@ ?= ;>
:A > 8A > CC;<
:UA >U8A H >UCC;
:? ?;>
:"A >"8 >"CC;
:?@ ?=";>
:"A >"9A >"HH;
:?@ ?=";>
:?G ?;>
F
->
F
++++ 3333
B
BBB
BBBBB
BBBBBBB
BBBBBBBBB
7 8 !9
:;
<
. = = = >
:?, ! # . . ! ?;>
:?@ ?= ;>
A >
: . A > . 8A > . CC ;
<
: A > 8 > CC ;
:? ?;>
HH>
: A > 8A B . H > CC ;
:?B?;>
:?G ?;>
F
->
F
++++ 3333
A B C D E F G H
A B C D E F G
A B C D E F
A B C D E
A B C D
A B C
A B
A
7 8 !9
:;
<
! ! A R R>
= ="= A ->
:?@ ?= ;>
:" A > " 9A > "HH ;
<
: A > 8A > CC;
:? ?;>
CC>
: A > 8A " > CC ;
<
:?@ ?= !;>
!CC>
F
:?G ?;>
! A R R>
F
->
F
++++ 3333
1
01
010
1010
10101
7 8 !9
:;
<
= ="= A >
:?@ ?= ;>
: A > 8A > CC ;
<
:" A > " 8A > "CC ;
<
:?@ ?= ;>
: AA - ;
A >
A ->
F
:?G ?;>
F
->
F
++++ 3333
p
pr
pro
prog
progr
progra
program
7 8 !9
7 8 !9
:;
<
! W --X>
="= !>
:?, G ?;>
: ;>
! A : ;>
: A - > 8 ! > CC ;
<
:" A - > " 8A > "CC ;
<
:?@ ?= W"X;>
F
:?G ?;>
F
->
F
++++ 3333
1
121
12321
1234321
123454321
7 8 !9
:;
<
= ="=P A >
:?@ ?= ;>
: A > 8A > CC ;
<
:" A > " 8A > "CC ;
<
:?@ ?=P;>
PCC>
F
PHH>
:" A > " 8A H > "CC ;
<
PHH>
:?@ ?=P;>
F
:?G ?;>
P A >
F
->
F
++++ 3333 $ !$ !$ !$ !
DBBBBBBBB APCPY D ICPY D IC PY D IBD
7 8 !9
7 8 !9
7 8 ! !9
$ :;
<
A ==P== >
>
:;>
:?, ! $ ?;>
:?@ ?= ;>
:?, ! $ P?;>
:?@ ?= P;>
AP>
:A > 8A > CA ;
<
A >
:A > 8A > CC;
A B >
A C . :P=;D>
F
:?G E@ ?= ;>
!:;>
F
++++ 3333 $ !$ !$ !$ !
DBBBBBBBB A D Y C D Y C D Y CCCCCCCCCCC D Y BD
7 8 !9
7 8 !9
7 8 ! !9
$ :;
<
== >
P= >
:;>
:?, ! $ ?;>
:?@ ?= ;>
:A > 8A > CC;
<
PAPC . := ;>
A C . := ;>
F
:?G PE@ =G E@ ?=P= ;>
!:;>
F
ZO Q 3 5 K 5 SZO Q 3 5 K 5 SZO Q 3 5 K 5 SZO Q 3 5 K 5 SHHHH
3 5 K 6K O , E3 5 K 6K O , E3 5 K 6K O , E3 5 K 6K O , E HHHH
7 8 !9
7 8 !9
7 8 ! !9
$ :;
<
== >
P= >
:;>
:A > 8A -> CC;
<
:@ AA-;
>
:?G @ ?=;>
F
!:;>
F
& 5 5& 5 5& 5 5& 5 5 EEEE HHHH
7 8 !9
7 8 !9
7 8 ! !9
$ :;
<
= = A->
:;>
:?, ! $ ?;>
:?@ ?= ;>
$E
: AA-;
:?@ ?= ;>
<
A @ ->
A B -C >
A D ->
$>
F
!:;>
F
& 5 5& 5 5& 5 5& 5 5 EEEE HHHH
7 8 !9
7 8 !9
7 8 ! !9
$ :;
<
>
:;>
:?, ! $ ?;>
:?@ ?= ;>
: @ AA-;
$ >
>
$ E :?, $ ?;>
>
E :? ?;>
E
:?G @ ?= ;>
!:;>
F

More Related Content

What's hot

Stalin and soviet industrialisation vox, cepr policy portal
Stalin and soviet industrialisation   vox, cepr policy portalStalin and soviet industrialisation   vox, cepr policy portal
Stalin and soviet industrialisation vox, cepr policy portaltapanma
 
بوكلت الدراسات الإجتماعية للصف الرابع الابتدائى للترم الثانى
بوكلت الدراسات الإجتماعية للصف الرابع الابتدائى للترم الثانى بوكلت الدراسات الإجتماعية للصف الرابع الابتدائى للترم الثانى
بوكلت الدراسات الإجتماعية للصف الرابع الابتدائى للترم الثانى أمنية وجدى
 
papa pump off grid water pump far away from public utilities - papa ram pump
papa pump   off grid water pump   far away from public utilities - papa ram pumppapa pump   off grid water pump   far away from public utilities - papa ram pump
papa pump off grid water pump far away from public utilities - papa ram pumptapanma
 
(Guia para elaborar,_estrutura
(Guia para elaborar,_estrutura(Guia para elaborar,_estrutura
(Guia para elaborar,_estruturaKátia Amaral
 
Social Media Project 2
Social Media Project 2Social Media Project 2
Social Media Project 2Maya Mikati
 
2010 NEW YORK URBAN LATINO FILM FESTIVAL 2010
2010 NEW YORK URBAN LATINO FILM FESTIVAL 20102010 NEW YORK URBAN LATINO FILM FESTIVAL 2010
2010 NEW YORK URBAN LATINO FILM FESTIVAL 2010synertainment4.0
 
Ugly Duck Clothing UK eBay Store
Ugly Duck Clothing UK  eBay StoreUgly Duck Clothing UK  eBay Store
Ugly Duck Clothing UK eBay StoreRabius Sany
 
Handbook of Business Model Innovation
Handbook of Business Model InnovationHandbook of Business Model Innovation
Handbook of Business Model InnovationHochschule Ruhr West
 
Dof diario oficial de la federación act2 mod1
Dof   diario oficial de la federación act2 mod1Dof   diario oficial de la federación act2 mod1
Dof diario oficial de la federación act2 mod1Guía del docente
 
Ugly Duck Clothing Ebay Listing Template Design
Ugly Duck Clothing Ebay Listing Template DesignUgly Duck Clothing Ebay Listing Template Design
Ugly Duck Clothing Ebay Listing Template DesignRabius Sany
 
Geothermal energy وزەی زەوی وزەی ناخی زەوی گەرمی ناخی زەوی گه‌رمى ناخى...
Geothermal energy  وزەی زەوی    وزەی ناخی زەوی   گەرمی ناخی زەوی  گه‌رمى ناخى...Geothermal energy  وزەی زەوی    وزەی ناخی زەوی   گەرمی ناخی زەوی  گه‌رمى ناخى...
Geothermal energy وزەی زەوی وزەی ناخی زەوی گەرمی ناخی زەوی گه‌رمى ناخى...Rawaz Jalal
 
Toan t1 chuong 8-1_tich_phanhailop_4
Toan t1   chuong 8-1_tich_phanhailop_4Toan t1   chuong 8-1_tich_phanhailop_4
Toan t1 chuong 8-1_tich_phanhailop_4Informatics and Maths
 
Bee Media Presentation
Bee Media PresentationBee Media Presentation
Bee Media Presentationjgrcincykid
 
Religion 6th-primary-2nd-term- (4)
Religion 6th-primary-2nd-term- (4)Religion 6th-primary-2nd-term- (4)
Religion 6th-primary-2nd-term- (4)khawagah
 
إجراءات الترانزيت
إجراءات الترانزيتإجراءات الترانزيت
إجراءات الترانزيتMohamed Hendawy
 
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...Manolo Kachay
 

What's hot (20)

Stalin and soviet industrialisation vox, cepr policy portal
Stalin and soviet industrialisation   vox, cepr policy portalStalin and soviet industrialisation   vox, cepr policy portal
Stalin and soviet industrialisation vox, cepr policy portal
 
بوكلت الدراسات الإجتماعية للصف الرابع الابتدائى للترم الثانى
بوكلت الدراسات الإجتماعية للصف الرابع الابتدائى للترم الثانى بوكلت الدراسات الإجتماعية للصف الرابع الابتدائى للترم الثانى
بوكلت الدراسات الإجتماعية للصف الرابع الابتدائى للترم الثانى
 
papa pump off grid water pump far away from public utilities - papa ram pump
papa pump   off grid water pump   far away from public utilities - papa ram pumppapa pump   off grid water pump   far away from public utilities - papa ram pump
papa pump off grid water pump far away from public utilities - papa ram pump
 
(Guia para elaborar,_estrutura
(Guia para elaborar,_estrutura(Guia para elaborar,_estrutura
(Guia para elaborar,_estrutura
 
สมรรถภาพทางเพศ http://www.ครูภูมิคุ้มกัน.com
สมรรถภาพทางเพศ  http://www.ครูภูมิคุ้มกัน.comสมรรถภาพทางเพศ  http://www.ครูภูมิคุ้มกัน.com
สมรรถภาพทางเพศ http://www.ครูภูมิคุ้มกัน.com
 
Benz deller(ex30 06_56)
Benz deller(ex30 06_56)Benz deller(ex30 06_56)
Benz deller(ex30 06_56)
 
Social Media Project 2
Social Media Project 2Social Media Project 2
Social Media Project 2
 
2010 NEW YORK URBAN LATINO FILM FESTIVAL 2010
2010 NEW YORK URBAN LATINO FILM FESTIVAL 20102010 NEW YORK URBAN LATINO FILM FESTIVAL 2010
2010 NEW YORK URBAN LATINO FILM FESTIVAL 2010
 
Thomafluid (русский)
Thomafluid (русский)Thomafluid (русский)
Thomafluid (русский)
 
Ugly Duck Clothing UK eBay Store
Ugly Duck Clothing UK  eBay StoreUgly Duck Clothing UK  eBay Store
Ugly Duck Clothing UK eBay Store
 
Handbook of Business Model Innovation
Handbook of Business Model InnovationHandbook of Business Model Innovation
Handbook of Business Model Innovation
 
Dof diario oficial de la federación act2 mod1
Dof   diario oficial de la federación act2 mod1Dof   diario oficial de la federación act2 mod1
Dof diario oficial de la federación act2 mod1
 
Ugly Duck Clothing Ebay Listing Template Design
Ugly Duck Clothing Ebay Listing Template DesignUgly Duck Clothing Ebay Listing Template Design
Ugly Duck Clothing Ebay Listing Template Design
 
Geothermal energy وزەی زەوی وزەی ناخی زەوی گەرمی ناخی زەوی گه‌رمى ناخى...
Geothermal energy  وزەی زەوی    وزەی ناخی زەوی   گەرمی ناخی زەوی  گه‌رمى ناخى...Geothermal energy  وزەی زەوی    وزەی ناخی زەوی   گەرمی ناخی زەوی  گه‌رمى ناخى...
Geothermal energy وزەی زەوی وزەی ناخی زەوی گەرمی ناخی زەوی گه‌رمى ناخى...
 
Toan t1 chuong 8-1_tich_phanhailop_4
Toan t1   chuong 8-1_tich_phanhailop_4Toan t1   chuong 8-1_tich_phanhailop_4
Toan t1 chuong 8-1_tich_phanhailop_4
 
Bee Media Presentation
Bee Media PresentationBee Media Presentation
Bee Media Presentation
 
Religion 6th-primary-2nd-term- (4)
Religion 6th-primary-2nd-term- (4)Religion 6th-primary-2nd-term- (4)
Religion 6th-primary-2nd-term- (4)
 
إجراءات الترانزيت
إجراءات الترانزيتإجراءات الترانزيت
إجراءات الترانزيت
 
بلاغ مناظرات خارجية
بلاغ مناظرات خارجيةبلاغ مناظرات خارجية
بلاغ مناظرات خارجية
 
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
 

Similar to Progr1 (20)

Teoria_IS_Tema_7.pdf
Teoria_IS_Tema_7.pdfTeoria_IS_Tema_7.pdf
Teoria_IS_Tema_7.pdf
 
08_0648_EA.pdf
08_0648_EA.pdf08_0648_EA.pdf
08_0648_EA.pdf
 
Black manifesto race_inequality
Black manifesto race_inequalityBlack manifesto race_inequality
Black manifesto race_inequality
 
COPOM 27OUT 2021
COPOM 27OUT 2021COPOM 27OUT 2021
COPOM 27OUT 2021
 
concentrado SI 206.pdf
concentrado SI 206.pdfconcentrado SI 206.pdf
concentrado SI 206.pdf
 
Dossier Presentación del Albergue El Último Bucardo
Dossier Presentación del Albergue El Último BucardoDossier Presentación del Albergue El Último Bucardo
Dossier Presentación del Albergue El Último Bucardo
 
Planning v2
Planning v2Planning v2
Planning v2
 
Criptosistemas Clásicos
Criptosistemas ClásicosCriptosistemas Clásicos
Criptosistemas Clásicos
 
Strategic planning basics
Strategic planning basicsStrategic planning basics
Strategic planning basics
 
Aia partido progressista
Aia partido progressistaAia partido progressista
Aia partido progressista
 
safer erlang.PDF
safer erlang.PDFsafer erlang.PDF
safer erlang.PDF
 
EN-Hacking Securite Hand-Book.pdf
EN-Hacking Securite Hand-Book.pdfEN-Hacking Securite Hand-Book.pdf
EN-Hacking Securite Hand-Book.pdf
 
التصريح الصحفي
التصريح الصحفيالتصريح الصحفي
التصريح الصحفي
 
التصريح الصحفي
التصريح الصحفيالتصريح الصحفي
التصريح الصحفي
 
Resume Cover Exec Pers Asst
Resume Cover Exec Pers AsstResume Cover Exec Pers Asst
Resume Cover Exec Pers Asst
 
Resume Cover Exec Pers Asst
Resume Cover Exec Pers AsstResume Cover Exec Pers Asst
Resume Cover Exec Pers Asst
 
MOB presentació general
MOB presentació generalMOB presentació general
MOB presentació general
 
Decentralized Controllability
Decentralized ControllabilityDecentralized Controllability
Decentralized Controllability
 
Capurro o conceito de informação
Capurro  o conceito de informaçãoCapurro  o conceito de informação
Capurro o conceito de informação
 
Alimentos suplementarios-para-rumiantes
Alimentos suplementarios-para-rumiantesAlimentos suplementarios-para-rumiantes
Alimentos suplementarios-para-rumiantes
 

More from SANTOSH RATH

Lesson plan proforma database management system
Lesson plan proforma database management systemLesson plan proforma database management system
Lesson plan proforma database management systemSANTOSH RATH
 
Lesson plan proforma progrmming in c
Lesson plan proforma progrmming in cLesson plan proforma progrmming in c
Lesson plan proforma progrmming in cSANTOSH RATH
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tcSANTOSH RATH
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tcSANTOSH RATH
 
Module wise format oops questions
Module wise format oops questionsModule wise format oops questions
Module wise format oops questionsSANTOSH RATH
 
( Becs 2208 ) database management system
( Becs 2208 ) database management system( Becs 2208 ) database management system
( Becs 2208 ) database management systemSANTOSH RATH
 
Expected Questions TC
Expected Questions TCExpected Questions TC
Expected Questions TCSANTOSH RATH
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tcSANTOSH RATH
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbmsSANTOSH RATH
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbmsSANTOSH RATH
 
Oops model question
Oops model questionOops model question
Oops model questionSANTOSH RATH
 
System programming note
System programming noteSystem programming note
System programming noteSANTOSH RATH
 
Operating system notes
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
 

More from SANTOSH RATH (20)

Lesson plan proforma database management system
Lesson plan proforma database management systemLesson plan proforma database management system
Lesson plan proforma database management system
 
Lesson plan proforma progrmming in c
Lesson plan proforma progrmming in cLesson plan proforma progrmming in c
Lesson plan proforma progrmming in c
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tc
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tc
 
Module wise format oops questions
Module wise format oops questionsModule wise format oops questions
Module wise format oops questions
 
2011dbms
2011dbms2011dbms
2011dbms
 
2006dbms
2006dbms2006dbms
2006dbms
 
( Becs 2208 ) database management system
( Becs 2208 ) database management system( Becs 2208 ) database management system
( Becs 2208 ) database management system
 
Rdbms2010
Rdbms2010Rdbms2010
Rdbms2010
 
Expected Questions TC
Expected Questions TCExpected Questions TC
Expected Questions TC
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tc
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbms
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbms
 
Oops model question
Oops model questionOops model question
Oops model question
 
System programming note
System programming noteSystem programming note
System programming note
 
Operating system notes
Operating system notesOperating system notes
Operating system notes
 
Os notes
Os notesOs notes
Os notes
 
OS ASSIGNMENT 2
OS ASSIGNMENT 2OS ASSIGNMENT 2
OS ASSIGNMENT 2
 
OS ASSIGNMENT-1
OS ASSIGNMENT-1OS ASSIGNMENT-1
OS ASSIGNMENT-1
 
OS ASSIGNMENT 3
OS ASSIGNMENT 3OS ASSIGNMENT 3
OS ASSIGNMENT 3
 

Recently uploaded

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 

Recently uploaded (20)

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 

Progr1

  • 1. ! " # $ % & ' ! " $ ( ! ) ! * + , - $ ! " ! ! " ! ! # . -- / % 0 ' ( ) 1 . 2 . ! 3 4 * , $ 5 4 - ! " 3 661 0 # 0 %
  • 2. ++++ 7 8 !9 7 8 !9 $ :; < = > :;> :?, # ?;> :?@ ?= ;> A B: C ;D > :? E@ ?= ;> !:;> F ++++ 7 8 !9 7 8 !9 :; < ==#> :;> :?G ! E?;> :?@ ?= ;> :?G ! E@ ?= B ;> :?G ! E@ ?= B ;> :?G ! # !E?;> :?@ @ ?= = #;> :?G ! E@ ?=B#;> :?G ! E@ ?= B:C#;;> !:;> F
  • 3. 6=6=6=6= HHHH ==== HHHH EEEE Definition of leap year: Rule 1: A year is called leap year if it is divisible by 400. For example: 1600, 2000 etc leap year while 1500, 1700 are not leap year. Rule 2: If year is not divisible by 400 as well as 100 but it is divisible by 4 then that year are also leap year. For example: 2004, 2008, 1012 are leap year. Leap year logic or Algorithm of leap year or Condition for leap year: IF year MODULER 400 IS 0 THEN leap_year ELSE IF year MODULER 100 IS 0 THEN not_leap_year ELSE IF year MODULER 4 IS 0 THEN leap_year ELSE not_leap_year ++++ 7 8 !9 :;< > :?, E ?;> :?@ ?= ;> ::: @ AA-; : @ --IA-;;JJ: @ --AA-;; :?@ ?= ;> :?@ ?= ;> -> F E , E - - - -
  • 4. ++++ !!!! " # $" # $" # $" # $ 7 8 !9 7 8 !9 $ :; < > :;> :?, ! ?;> :?@ ?= ;> : 9 ); < :?, # 1 ?;> F :?K , # 1 ?;> !:;> F ++++ &&&& 7 8 !9 7 8 !9 $ :; < = = = = %= $ > :;> :?, ! " ?;> :?@ @ @ @ @ ?= = = = = %;> $ A: C C C C %;D%> : $ 9A*- $ 8A --; :?5 H& ?;> : $ 9A)- $ 8A)*; :?, H& ?;> : $ 9A(- $ 8A(*; :? H& ?;> : $ 9A'- $ 8A'*; :?L H& ?;> : $ 9A%- $ 8A%*; :?3 H& ?;> : $ 9A - $ 8A *; :?MH& ?;> : $ 9A - $ 8A *; :?0H& ?;> !:;>
  • 5. ! " $! " $! " $! " $ 7 8 !9 7 8 !9 7 8 ! !9 $ :; < = > = = > :;> :?G # E?;> :?@ ?= ;> A @ > : AA-; :? ! $ G ?;> :? ! G ?;> !:;> F ++++ ! #! #! #! # #### 7 8 !9 :;< =#= > :?G , # E ?;> :?@ @ @ ?= = #= ;> : H#9- H 9-; :?G & E@ ?= ;> :#H 9-; :?G & # E@ ?=#;> :?G & E@ ?= ;> -> F ++++ ! #! #! #! # 7 8 !9 :;< =#= =# > :?G , # E?;> :?@ @ @ ?= = #= ;>
  • 6. # A: 9# 9 N E#9 N#E ;> :?G ! # # E@ ?=# ;> -> F ++++%%%% & !& !& !& ! 7 8 !9 7 8 !9 :; < =#= > :;> :?G ! # E?;> :?@ @ @ ?= = #= ;> :: 9#; : 9 ;; :?G ! # # E@ ?= ;> :#9 ; :?G ! # # E@ ?=#;> :?G ! # # E@ ?= ;> !:;> F ++++'''' !!!! 7 8 !9 7 8 !9 :; < =#= > :;> :?G ! # E?;> :?@ @ @ ?= = #= ;> :: 8#; : 8 ;; :?G ! # E@ ?= ;> :#8 ; :?G ! # E@ ?=#;> :?G ! # E@ ?= ;> !:;> F ++++(((( + ,+ ,+ ,+ , 7 8 !9 7 8 !9
  • 7. 7 8 ! !9 $ :; < =#= = = = > :;> :?, =#= ?;> :?@ @ @ ?= = #= ;> A#B#H B B > : 9-; < A:H#C : ;;D: B ;> A:H#H : ;;D: B ;> :? + , E@ @ ?= = ;> F :? ?;> !:;> F !!!! ++++**** $$$$ 7 8 !9 7 8 !9 $ :; < = A-= > :;> :?, ?;> :?@ ?= ;> . ! : 9-; < A @ -> A B -C > A D -> F :? $ E@ ?= ;> !:;> F Definition of Armstrong number or what is an Armstrong number: Definition according to c programming point of view:
  • 8. Those numbers which sum of the cube of its digits is equal to that number are known as Armstrong numbers. For example 153 since 1^3 + 5^3 + 3^3 = 1+ 125 + 9 =153 Other Armstrong numbers: 370,371,407 etc. In general definition: Those numbers which sum of its digits to power of number of its digits is equal to that number are known as Armstrong numbers. Example 1: 153 Total digits in 153 is 3 And 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153 Example 2: 1634 Total digits in 1634 is 4 And 1^4 + 6^4 + 3^4 +4^4 = 1 + 1296 + 81 + 64 =1634 Examples of Armstrong numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 153, 370, 371, 407, 1634, 8208, 9474, 54748, 92727, 93084, 548834, 1741725 ++++ ---- ! " !! " !! " !! " ! 7 8 !9 7 8 !9 :; < = = = > :;> :?G # E?;> :?@ ?= ;> A > A-> . ! : 9-; < A @ -> A C: B B ;> A D ->
  • 9. F : AA ; :?@ K # ?= ;> :?@ K # ?= ;> !:;> F Definition of prime number: A natural number greater than one has not any other divisors except 1 and itself. In other word we can say which has only two divisors 1 and number itself. For example: 5 Their divisors are 1 and 5. Note: 2 is only even prime number. Logic for prime number in c We will take a loop and divide number from 2 to number/2. If the number is not divisible by any of the numbers then we will print it as prime number. Example of prime numbers : 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199 etc. ++++ ! " !! " !! " !! " ! 7 8 !9 7 8 !9 $ :; < = = A-> :;> :? # ?;> :?@ ?= ;> . ! :8A ; < : @ AA-; A C >
  • 10. A C > F : AA ; :? @ % ?= ;> :? @ ?= ;> F !:;> F ++++ ! # . --! # . --! # . --! # . -- DB ! # . --BD 7 8 !9 7 8 !9 $ :; < = A > :;> . ! : 8A --; < A > . ! :8A ; < : @ AA-; # "> CC> F :AA ; :?G @ ?= ;> CC> F !:;> F ++++ ! " . ! ! #! " . ! ! #! " . ! ! #! " . ! ! # 7 8 !9 :;< === = A-= > :?, # E ?;> :?@ ?= ;>
  • 11. A > . ! : ;< A =A > A @ -> . ! :8A ;< A B > CC> F A C > A D -> F : AA ; :?@ # ?= ;> :?@ # ?= ;> -> F E , # E % % # + ! " !+ ! " !+ ! " !+ ! " ! 7 8 !9 7 8 !9 $ :; < ="A = > :;> :? # ?;> :?@ ?= ;> . ! : 8-; < : @ "AA-; "CC> F : AA"; :? ?;>
  • 12. :? ?;> !:;> F ++++ # . --# . --# . --# . -- 7 8 !9 7 8 !9 $ :; < = A > :;> . ! : 8A --; < A > . ! :8A ; < : @ AA-; # "> CC> F :AA ; :?G @ ?= ;> CC> F !:;> F ++++ //// 7 8 !9 7 8 !9 $ :; < = > > :;> :?G # E?;> :?@ ?= ;> A-> . ! : 9-; < A @ -> A C >
  • 13. A D -> F :? ! E@ ?= ;> !:;> F ++++ Factorial of number is defined as: Factorial (n) = 1*2*3 … * n For example: Factorial of 5 = 1*2*3*4*5 = 120 Note: Factorial of zero = 1 ++++ 0000 7 8 !9 7 8 !9 :; < == > :;> :?G # ?;> :?@ ?= ;> A > A > . ! :9-; < A B > HH> F :? ! @ E@ ?= =;> !:;> F Definition of Palindrome number or what is palindrome number? A number is called palindrome number if it is remain same when its digits are reversed. For example 121 is palindrome number. When we will reverse its digit it will remain same number i.e. 121 Palindrome numbers examples: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111, 121, 131, 141, 151, 161, 171, 181, 191 etc.
  • 14. ++++ 7 8 !9 7 8 !9 :; < = = = > :;> :?G # ?;> :?@ ?= ;> A > A-> . ! : 9-; < A @ -> A C: B B ;> A D -> F : AA ; :?@ K O # ?= ;> :?@ K # ?= ;> !:;> F Definition of perfect number or what is perfect number? Perfect number is a positive number which sum of all positive divisors excluding that number is equal to that number. For example 6 is perfect number since divisor of 6 are 1, 2 and 3. Sum of its divisor is 1 + 2+ 3 =6 Note: 6 is the smallest perfect number. Next perfect number is 28 since 1+ 2 + 4 + 7 + 14 = 28 Some more perfect numbers: 496, 8128
  • 15. ++++ 7 8 !9 7 8 !9 :; < == > :;> :?G # ?;> :?@ ?= ;> A > A-> . ! :8 ; < : @ AA-; A C > CC> F : AA ; :?@ K # ?= ;> :?@ K # ?= ;> !:;> F OOOO MMMM HHHH !!!! ++++ ! "! "! "! " 7 8 !9 7 8 !9 $ :; < = A-= > :;> :? ! ?;> :?@ ?= ;> < A @ -> A B -C > A D -> F . ! : 9-;> :? ?;> : AA ;
  • 16. < :? E@ ?= ;> F !:;> F ++++ ! "! "! "! " 7 8 !9 7 8 !9 $ :; < ="A > :;> :? ?;> :?@ ?= ;> < : @ "AA-; < :?6 ?;> P :-;> F "CC> F . ! :"8 ;> :? ?;> !:;> F ++++ $$$$ 7 8 !9 7 8 !9 $ :; < = A-= > :? ! ?;> :?@ ?= ;> < A @ -> A B -C > A D -> F
  • 17. . ! : 9-;> :? ! $ E@ ?= ;> !:;> F ++++ $$$$ 7 8 !9 7 8 !9 7 8 ! !9 $ :; < = = A-= A =PA = > :;> :?, ! ?;> :?@ ?= ;> :?, . ! ! # $ ?;> :?@ ?= ;> < A @ -> :?@ ?=;> A C > A B > A D -> PCC> F . ! :P8A ;> :?G E@ ?= ;> :?G Q E@ ?= ;> !:;> F . !. !. !. !HHHH3333 ++++ 1 .1 .1 .1 . 2222 . ! 3 4. ! 3 4. ! 3 4. ! 3 4 7 8 !9 7 8 !9 $ :; < ! !> :;> :?G ! E?;> :?@ ?= !;>
  • 18. . !: !; < R RE :?@ $ . ?= !;> # "> R, RE :?@ $ . ?= !;> # "> R6RE :?@ $ . ?= !;> # "> R5 RE :?@ $ . ?= !;> # "> RO RE :?@ $ . ?= !;> # "> E :?@ $ . ?;> F !:;> F ++++ , $ 5 4, $ 5 4, $ 5 4, $ 5 4 7 8 !9 :; < #> :2 K # 4;> :2@ 4= #;> . !: # @ ; < - E :? ! # @ $ G ?= #;> E :? ! # @ G ?= #;> # "> F F
  • 19. 0000 HHHHSSSS ++++ 7 8 !9 :;< > T = PT > :?, ! . E ?;> :?@ ?= T ;> :?, ! ! ! E ?;> :?@ ?= PT ;> :?S $ E ?;> : A T > 8A PT > CC;< ::: @ AA-; : @ --IA-;;JJ: @ --AA-;; :?@ ?= ;> F -> } + ! "+ ! "+ ! "+ ! " 3 6613 6613 6613 661 7 8 !9 7 8 !9 $ :; < > :;> :A'%> 8A*-> CC; :?G @ A@ ?==;> !:;> F ++++ 0 #0 #0 #0 # 7 8 !9 7 8 !9 $ :; < = A-= #A == > :;> :? # ?;>
  • 20. :?@ ?= ;> :A-> 8A > CC; < A > A #> #A C > :?@ ?= #;> F !:;> F + 3 # --+ 3 # --+ 3 # --+ 3 # -- 7 8 !9 :;< == > = P> :?, ! E ?;> :?@ ?= ;> :?, ! P E ?;> :?@ ?= P;> :? # $ E ?;> : A > 8A P> CC;< A > A -> . ! :8 ;< : @ AA-; A C > CC> F : AA ; :?@ ?= ;> F -> F Sample output: Enter the minimum range: 1 , ! P E - # $ E '
  • 21. ++++ ---- ! " !! " !! " !! " ! 7 8 !9 :;< = = = > = P> :?, ! E ?;> :?@ ?= ;> :?, ! P E ?;> :?@ ?= P;> :? # $ E ?;> : A > 8A P> CC;< A > A -> . ! : IA-;< A @ -> A D -> A C: B B ;> F : AA ; :?@ ?= ;> F -> F ++++ BBBB BBBBBBBB BBBBBBBBBBBB BBBBBBBBBBBBBBBB BBBBBBBBBBBBBBBBBBBB 7 8 !9 7 8 !9 $ :; < = =U>
  • 22. :;> :? # ?;> :?@ ?= ;> :A-> 8A > CC; < :UA->U8A >UCC; < :?B?;> F :?G ?;> F !:;> F ++++ BBBB BBBBBBBB BBBBBBBBBBBB BBBBBBBBBBBBBBBB BBBBBBBBBBBBBBBBBBBB BBBBBBBBBBBBBBBB BBBBBBBBBBBB BBBBBBBB BBBB 7 8 !9 7 8 !9 $ :; < = =U> :;> :? # ?;> :?@ ?= ;> :UA >U8A >UCC; < :A > 8AU> CC; < :?B?;> F :?G ?;>
  • 23. F :UA >U9A->UHH; < :AU> 9A > HH; < :?B?;> F :?G ?;> F !:;> F ++++ 7 8 !9 7 8 !9 $ :; < = =U> :;> :? # ?;> :?@ ?= ;> :UA >U8A >UCC; < :A > 8AU> CC; < :?@ ?=;> F :?G ?;> F :UA >U9A->UHH; < :AU> 9A > HH; <
  • 24. :?@ ?=;> F :?G ?;> F !:;> F ++++ program to display ASCII values 7 8 !9 :;< > :A-> 8A %%> CC; :? 3 66$ ! @ E @ G ?==;> -> F ++++ 0000 7 8 !9 :;< =U= ="A > :?, ! E ?;> :?@ ?= ;> :?0S5 VMR 6 K & S, G G ?;> :A > 8A > CC;< :UA >U8A >UCC="CC; :? @ ?=";> :?G ?;> F -> F E , ! E -
  • 25. 0S5 VMR 6 K & S, % ' ( ) * - % ' ( ) * - % ' ( ) * - % ' ( ) * - % ' ( ) * %- % % % % %% ++++ 3333 7 8 !9 :;< ==U="> :?, ! ?;> :?@ ?= ;> :A > 8A > CC;< :UA >U8A H >UCC; :? ?;> :"A >"8 >"CC; :?@ ?=";> :"A >"9A >"HH; :?@ ?=";> :?G ?;> F -> F ++++ 3333 B BBB BBBBB
  • 26. BBBBBBB BBBBBBBBB 7 8 !9 :; < . = = = > :?, ! # . . ! ?;> :?@ ?= ;> A > : . A > . 8A > . CC ; < : A > 8 > CC ; :? ?;> HH> : A > 8A B . H > CC ; :?B?;> :?G ?;> F -> F ++++ 3333 A B C D E F G H A B C D E F G A B C D E F A B C D E A B C D A B C
  • 27. A B A 7 8 !9 :; < ! ! A R R> = ="= A -> :?@ ?= ;> :" A > " 9A > "HH ; < : A > 8A > CC; :? ?;> CC> : A > 8A " > CC ; < :?@ ?= !;> !CC> F :?G ?;> ! A R R> F -> F ++++ 3333 1 01 010 1010 10101 7 8 !9 :; < = ="= A > :?@ ?= ;> : A > 8A > CC ;
  • 28. < :" A > " 8A > "CC ; < :?@ ?= ;> : AA - ; A > A -> F :?G ?;> F -> F ++++ 3333 p pr pro prog progr progra program 7 8 !9 7 8 !9 :; < ! W --X> ="= !> :?, G ?;> : ;> ! A : ;> : A - > 8 ! > CC ; < :" A - > " 8A > "CC ; < :?@ ?= W"X;> F :?G ?;> F -> F
  • 29. ++++ 3333 1 121 12321 1234321 123454321 7 8 !9 :; < = ="=P A > :?@ ?= ;> : A > 8A > CC ; < :" A > " 8A > "CC ; < :?@ ?=P;> PCC> F PHH> :" A > " 8A H > "CC ; < PHH> :?@ ?=P;> F :?G ?;> P A > F -> F ++++ 3333 $ !$ !$ !$ ! DBBBBBBBB APCPY D ICPY D IC PY D IBD 7 8 !9 7 8 !9 7 8 ! !9 $ :; < A ==P== > > :;>
  • 30. :?, ! $ ?;> :?@ ?= ;> :?, ! $ P?;> :?@ ?= P;> AP> :A > 8A > CA ; < A > :A > 8A > CC; A B > A C . :P=;D> F :?G E@ ?= ;> !:;> F ++++ 3333 $ !$ !$ !$ ! DBBBBBBBB A D Y C D Y C D Y CCCCCCCCCCC D Y BD 7 8 !9 7 8 !9 7 8 ! !9 $ :; < == > P= > :;> :?, ! $ ?;> :?@ ?= ;> :A > 8A > CC; < PAPC . := ;> A C . := ;> F :?G PE@ =G E@ ?=P= ;> !:;> F
  • 31. ZO Q 3 5 K 5 SZO Q 3 5 K 5 SZO Q 3 5 K 5 SZO Q 3 5 K 5 SHHHH 3 5 K 6K O , E3 5 K 6K O , E3 5 K 6K O , E3 5 K 6K O , E HHHH 7 8 !9 7 8 !9 7 8 ! !9 $ :; < == > P= > :;> :A > 8A -> CC; < :@ AA-; > :?G @ ?=;> F !:;> F & 5 5& 5 5& 5 5& 5 5 EEEE HHHH 7 8 !9 7 8 !9 7 8 ! !9 $ :; < = = A-> :;> :?, ! $ ?;> :?@ ?= ;> $E : AA-; :?@ ?= ;> < A @ -> A B -C > A D -> $> F !:;> F & 5 5& 5 5& 5 5& 5 5 EEEE HHHH 7 8 !9 7 8 !9 7 8 ! !9 $ :; <
  • 32. > :;> :?, ! $ ?;> :?@ ?= ;> : @ AA-; $ > > $ E :?, $ ?;> > E :? ?;> E :?G @ ?= ;> !:;> F