0

Ex.No:4c Sorting

AIM:          To write a C program to sort an array of n integers. ALGORITHM: Step 1: Start the program. Step 2: Read the array a. Step 3: Repeat for i ←...

0

Ex.no:3f Illustrate menu-driven Programming

AIM:          To write a C program to illustrate menu-driven Programming. ALGORITHM: Step 1: Start the program. Step 2: Read choice and num. Step 3: Repeat till a valid choice. Step 3a:...

0

Ex.No:3e Triangle Of Numbers

AIM:         To write a c program to print triangle of numbers. ALGORITHM: Step 1: Start the program. Step 2: Declare the variables i,j,k,l and n as “int” datatype. Step 3: Read  N numbers of...

0

Ex.no:2e Area of a triangle

AIM:         To write a C program to find the area of a triangle given the length of three sides. ALGORITHM: Step 1: Start the program. Step 2: Read the side lengths...

0

Ex no:2d Evaluate the expression

AIM:          To write a C program to evaluate x = 8t2-t+4 y=sin 30◦ z=e3t+5  ALGORITHM: Step 1: Start the program. Step 2: Read t. Step 3 : Calculate x = 8t2-t3+4...

0

Ex.No:2c Display the size of each data type

AIM:           To write a c program to display the size of each data type. ALGORITHM: Step 1: Start the program. Step 2: Use the “sizeof()” operator to display the size...