Programs
Programs
#include <stdio.h>
#include <conio.h>
int main() {
clrscr();
getch();
return 0;
//addition
#include <stdio.h>
#include <conio.h>
int main() {
int a, b, sum;
clrscr();
sum = a + b;
getch();
return 0;
//Area of a Circle
#include <stdio.h>
#include <conio.h>
int main() {
clrscr();
getch();
return 0;
Area of a Rectangle
#include <stdio.h>
#include <conio.h>
int main() {
clrscr();
getch();
return 0;
#include <stdio.h>
#include <conio.h>
int main() {
clrscr();
getch();
return 0;
}
Find the Largest Number (else if ladder)
#include <stdio.h>
#include <conio.h>
int main() {
clrscr();
else
getch();
return 0;
#include <stdio.h>
#include <conio.h>
int main() {
int a, b, temp;
clrscr();
// Swapping
temp = a;
a = b;
b = temp;
getch();
return 0;
}
/*
* Add two integers and print their sum (Add2Integers.c)
*/
#include <stdio.h>
#include <conio.h>
int main() {
int integer1; // Declare a variable named integer1 of the type
integer
int integer2; // Declare a variable named integer2 of the type
integer
int sum; // Declare a variable named sum of the type integer