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

C-Programming Laboratory Practice Programs: - Rutvik Sheth

Uploaded by

Rutvik Sheth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

C-Programming Laboratory Practice Programs: - Rutvik Sheth

Uploaded by

Rutvik Sheth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

C-Programming

Laboratory practice programs

-Rutvik Sheth
M.Tech (Structures)
D.D.U, Nadiad
Sample Program-1
#include <stdio.h>
#include <conio.h>
void main( )
{
printf(“My First C Program”);
}
------------------------------------------
Note : Press Alt+F9 to Compile
Ctrl+F9 to Run
Alt+F5 to view the Output
2
Rutvik Sheth
Sample Program-2
#include <stdio.h>
#include <conio.h>
void main( )
{
int a, b, ans;
a = 5;
b = 10;
ans = a * b;
printf(“Answer is %d”,ans);
}
3
Rutvik Sheth
Practice programs
 Write a program to print your details (i.e name, age,
city, contact no. etc).
 Write a program to find area of rectangle.
 Write a program to volume of a cylinder.
 Write a program to calculate simple interest.
 Write a program to compute temperature in Fahrenheit
from Centigrade
 Write a program to calculate final velocity of a vehicle
at time 50 sec whose initial velocity is 5 m/s and
acceleration is 1 m/s2.
4
Rutvik Sheth
Thank you

5
Application of Neural Network for Design of RCC Column

You might also like