Click here to Skip to main content
14,101,050 members
Rate this:
Please Sign up or sign in to vote.
See more: (untagged)
1. This program displays a running counter starting from 0 till infinty. The counter starts/resets by pressing enter and stops by pressing some other key. Use as many define directives and macros to achieve this task. The counter when played should be like a real counter (no separate line should be used for the next counter increment). Hint: use clrscr() command inside the for loop.

2. The program should convert an amount from rupees to 5 different currencies. Using define directives,perform this task. Hint: Exchange rates can be set as constants and defined within the directives.

[EDIT] Original Question : C Programming Book Questions Help in coding[^]
Updated 17-Aug-12 1:58am
Wes Aday 17-Aug-12 9:24am
Even if it's not homework, like you say, what is it the you expect from us? Get a book on C programming and work through it. Learn to use google. Learn how to ask a proper question. And above all, read the FAQ before posting.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

No one is going to do your homework for you. If you really cannot get started on this then go and discuss with your tutor.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190518.1 | Last Updated 17 Aug 2012
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100