|
-
January 15th, 2003, 03:42 AM
#1
small C program from a new bie
Can some one help me on these problems
a.) Write a program to input the original price of an item and of d, and
determine on what day the price drops to less than half the original
price.
b.) Write a program to input an integer in between 1-9 and print a line of
output consisting of a line of digits from 1-n followed by descending digits
from n-1.
2.Write a program to read a positive integer to determine
1)whether the integer is even or odd
2)whether the integer is prime or not
3)whether the integer is a perfect
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|