0% found this document useful (0 votes)
6 views

C Program

Uploaded by

menhamanafk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

C Program

Uploaded by

menhamanafk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

PROGRAM NO : 1

SUM & REVERSE OF A NUMBER


AIM
C program to find Sum of the digits and reverse of a number

PROGRAM

OUTPUT
PROGRAM NO : 2

PYRAMID USING *
AIM
C program to display pyramid using *

PROGRAM
OUTPUT

PROGRAM NO : 3

SHORT FORM OF A STRING


AIM
C program to print short form of a string eg:- Computer Science : CS

PROGRAM
OUTPUT
OUTPUT

PROGRAM NO : 5

FACTORIAL OF A NUMBER
AIM
C program to find Factorial of a number using recursion.

PROGRAM
OUTPUT

PROGRAM NO : 6

STANDARD DEVIATION
AIM
C program to find Standard deviation of n numbers
OUTPUT

PROGRAM NO : 10
CURRENCY DENOMINATION
AIM
C program to find the currency denomination of a given amount.
PROGRAM
OUTPUT
Check whether leap year or not

OUTPUT
Find the first n Fibonacci numbers.

Output
OUTPUT

PROGRAM NO: 12

BASE CONVERTION
AIM
C program to convert a decimal to new base

PROGRAM
PROGRAM NO: 14

MATRIX TRANSPOSE
AIM
C program to print transpose of a matrix.

PROGRAM
OUTPUT

PROGRAM NO : 17

ARMSTRONG NUMBER
AIM
C program to print Armstrong numbers in a range

PROGRAM
OUTPUT

You might also like