About Me

My photo
Vijayapur, Karnataka, India
I am interested in Teaching.

Wednesday 23 December 2020

Assignment 1....for I and K Division I Sem BLDEAs Engineering College, Vijayapur.....

 Write the same and submit.....

If you have PC , practice.....otherwise no need... Good day.... C program to print Hello World message on monitor(screen) (2 m) #include<stdio.h> void main() { clrscr(); printf("Hello World"); getch(); } Filename: p1.c Output: Hello World C program to find addition of two integers. (8 m) #include<stdio.h> void main() { int n1,n2,ans; clrscr(); printf("Enter two integers"); scanf("%d%d",&n1,&n2); ans=n1+n2; printf("\nAddition is %d",ans); getch(); } File name: p2.c Output: Enter two integers 7 3 [Enter] Addition is 10

GCD of two numbers and its application...

The greatest common divisor (gcd) of two numbers is the largest positive integer that divides both numbers without leaving a remainder. The ...