C Programming Lab Assessment (Diploma Engineering)

C Programming Lab Assessment (Diploma Engineering)

Lab Manual for Mechanical Dept.(3rd year)

Attention:
Dear Students, ME-A,ME-B1,ME-B2 (3rd Year) submit Your C Programming lab copy within 26/09/2016.

Program #1. Write a C program to perform addition , subtraction , multiplication and division of two numbers . Continue reading

Find GCD and LCM Using C Program

Find GCD and LCM Using C Program

GCD: The greatest common divisor (GCD), which is also known as the greatest common factor (GCF), of two or more integers, is the largest integer that is a common divisor (factor) of all the given integers.

LCM: The least common multiple (LCM), which is also known as the least common denominator (LCD) in fractions, of two or more integers is the smallest integer that is a common multiple (denominator) of all the given integers. Continue reading