My Subject Blog

Lab Practical



PRACTICAL - 1 BASIC PROGRAM

1.1 Write a Program to display “WELCOME TO SILVER OAK INSTITUTE OF TECHNOLOGY” on the screen.

1.2 Write a Program to which accepts a character from keyboard & display its ASCII code.

1.3 Write a program that reads two nos. from keyboard and gives their addition, subtraction, multiplication, division and modulo.


1.4 Write a program to convert days into months and days. 

1.5 The distance between two cities (In KM) is input through keyboard. Write a program to convert and print this distance in meters, feet, inches & centimetres.


1.6 Write a program to swap (interchange) values of two variables with and without using the third variable.

 PRACTICAL - 2 BASIC CALCULATION

2.1 Write a Program to convert the Celsius to Fahrenheit. F=(C*1.8)+32 

2.2 Write a Program to find out simple interest. I=(P*R*N)/100 

2.3 Write a program to solve Quadratic Equation.
GET CODE

PRACTICAL - 3 SERIES PROGRAMS


3.1 Write a program for following Series:  1 + 3 + 5 +… + n 

3.2 Write a program for following Series: 13 + 23 + 33 + 43 … + n

3.3 Write a Program to print Fibonacci series.(1 1 2 3 5 8 13……) 

3.4 Write a program to print 1+1/2+1/3+1/4+………+1/N series.

Comments

Most Visited Post

C Program to Find Largest Odd Number from Array

C Program Swapping using Bitwise Operator

Followers