#include <iostream.h>
#include <conio.h>
void main()
{
clrscr();
int age;
cout << "Enter your present age : " << endl;
cin>>age;
if(age==16)
{
cout << "Your present age is " << age << " years." << endl;
cout << "You are of the right age for joining grade 10 !" << endl;
}
else
{
cout << "Your present age is " << age << " years." << endl;
cout << "You are not of the right age for joining grade 10 !" << endl;
}
getch();
}
Entri Populer
-
Lanikai Oahu For those of you who are on vacation to the United States try to pull out into the countryside Hawaii, because there are be...
-
#include <iostream.h> #include <conio.h> void main() { clrscr(); int x = 10; int y = 2; int sum, difference, product, ...
-
#include <iostream.h> #include <conio.h> int main() { clrscr(); int x,y,z,smallest; cout << "Enter 3 integers : ...
-
private islands , private islands most beautiful , beautiful island , natural attractions , tourist tropical Many rich people...
-
#include <iostream.h> #include <conio.h> void octobin(int); void main() { clrscr(); int a; cout << "Enter a 2-digit...
-
#include <iostream.h> #include <conio.h> void main() { clrscr(); int x = 10; float y = 10.1; char z = 'a'; c...
-
#include <conio.h> #include <graphics.h> #include <stdlib.h> #include <stdio.h> void main (int) { int gdriver=DETE...
-
Click here for C++ PROGRAM #include <iostream.h> #include <conio.h> void main() { clrscr(); int v,u,a,t; cout << "En...
-
#include <iostream.h> #include <conio.h> void main() { clrscr(); int itrate; float salary,itax,nsalary=0; cout << "...
-
#include <iostream.h> #include <conio.h> void main() { clrscr(); int age; cout << "Enter your present age : " ...
Selasa, 25 Januari 2011
Program to enter your age and print if you should be in grade 10.
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar