C-Lab_Task6
C-Lab_Task6
Laboratory practice
programs
-Rutvik Sheth
M.Tech (Structures)
D.D.U, Nadiad
WRITE THE FOLLOWING PROGRAMS IN YOUR
NOTEBOOK AND THEN EXECUTE THEM:
Write a program to find whether a given year is a leap year
using ‘simple if else’.
Given the three sides of a triangle, write a program to find
whether the triangle is right angled or not using ‘simple if else’.
Write a program to find out the smallest integer out of given
three integers ‘nested if else’.
Write a program to assign Grade to a student based on his total
percentage using ‘elseif ladder’.
Write a program to make simple calculator using ‘elseif ladder’.
2
Rutvik Sheth
Write a program that reads a number from 1 to 7 and
accordingly it should display MONDAY to SUNDAY using
‘Switch case’
Write a program to find roots of a Quadratic equation using
‘Switch case’.
3
Rutvik Sheth
Thank you
4
Application of Neural Network for Design of RCC Column