Posted inHome Program to change the background colors on the screen #include <conio.h> #include <graphics.h> #include <stdlib.h> #include <stdio.h> void main (int) { int gdriver=DETECT,gmode,errorcode; ... Read More Posted by Admin May 7, 2021
Posted inHome Program to enter three integers and output the biggest integer #include <iostream.h> #include <conio.h> int main() { clrscr(); int x,y,z,biggest; cout << “Enter 3 ... Read More Posted by Admin May 7, 2021
Posted inHome Program to draw 2 rectangles and fill 1 of them in cpp #include <iostream.h> #include <conio.h> #include <graphics.h> #include <ctype.h> #include <stdlib.h> #include <stdio.h> void main() ... Read More Posted by Admin May 7, 2021
Posted inHome Program to change the foreground colors and draw circles on the screen #include <conio.h> #include <graphics.h> #include <stdlib.h> #include <stdio.h> void main (int) { int gdriver=DETECT,gmode,errorcode; ... Read More Posted by Admin May 7, 2021
Posted inHome Program to enter an integer and find out if it is even or odd #include <iostream.h> #include <conio.h> void main() { clrscr(); int x; cout << “Enter an integer ... Read More Posted by Admin May 7, 2021
Posted inHome Program to enter two integers and print the quotient and remainder #include <iostream.h> #include <conio.h> int main() { clrscr(); int x,y,quotient,remainder; cout << “Enter 2 integers ... Read More Posted by Admin May 7, 2021
Posted inHome Program to enter an integer and output its 15 multiples #include <iostream.h> #include <conio.h> int main() { clrscr(); int x; cout << “Enter an ... Read More Posted by Admin May 7, 2021
Posted inHome Program to enter an integer and print if it is greater or less than 100 #include <iostream.h> #include <conio.h> void main(){ clrscr(); int x; cout << “Enter an integer ... Read More Posted by Admin May 7, 2021
Posted inHome Program to enter your age and print if you should be in grade 10 #include <iostream.h> #include <conio.h> void main() { clrscr(); int age; cout << “Enter your ... Read More Posted by Admin May 7, 2021
Posted inHome Program to enter velocity, acceleration and time and print final velocity using the formula : v = u + a * t #include <iostream.h> #include <conio.h> void main() { clrscr(); int v,u,a,t; cout << “Enter the ... Read More Posted by Admin May 7, 2021