answersLogoWhite

0


Best Answer

It will be something like this:

int birthyear = 2001; /* replace it with your birthyear */

int age = 2011 - birthyear;

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you calculate your age using turbo c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

To develop a taj mahal using c-language programming in turbo c plus plus?

turbo c


Is turbo c is available for windows 7?

Yes, it is available for windows 7. You can run Turbo C in windows 7 basically using DOS Box emulator. Turbo C works fine with windows 7. Up to now, many programmers use Turbo C in programming C in windows environment.


What is abstract of payroll system using turbo c?

ambot nimu


How do you make a code by using turbo c?

high level language


What is the differentiate of turbo c from turbo c plus plus?

Turbo C compiles c source. turbo c++ compiles c++ source code.


Can you write a C program Without turbo C IDE?

Yes you can write a C program without using turbo C IDE. All you need is a text editor like notepad where you can write your codes and after writting them save the file with .c extension. But for compilling and running the code you will be needing turbo C IDE.


Does windows XP supports the turbo c plus plus graphics?

You should actually turn the question around: does the Turbo C++ graphics library support Windows XP? The answer is yes it does, provided you are using a version of Turbo C++ for Windows XP and above.


How do you make a flow chart using turbo c?

how does a flow chart helps in making aprogram in terbo c


Is the dual core processor reliable to make programs using turbo c?

A dual core processor is reliable to make programs using Turbo C. It is best however if you go for a more substantial processor such as a Quad Core.


How turbo c executes c as well as c?

turbo c cannot execute c++ as well..since c++ is the superset of c .the cprograms can be compiled in turbo c++.


What is a basic automatic operation of turbo c?

If you are going to program in turbo c (for DOS) you might be better using DJGPP. Google DJGPP for downloading and a whole host of good info.


How to you use clear screen in turbo C?

by using "clrscr" command at starting of the program