Jump to content

Dev Pascal Help

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Pyreforge

Pyreforge

    Newbie

  • Members
  • Pip
  • 1 posts
Here is what I need, just some basic stuff through pascal.

1. A program which accepts two real numbers, asks whether the user requires a rounded or truncated result and then outputs their product in the form requested.

2. A program which outputs triangle numbers - 1, 3, 6, 10, 15, etc.

3. A program which accepts a temperature value and then offers the user a choice between converting from C to F or from F to C.

4. A Program which produces fibonacci numbers. (For an example, do a google search on Fibonacci_number)

5. A program which finds the factors of a number.

6. A program which finds and displays the 'perfect numbers' up to a user-supplied value. (A perfect number is one whose factors add up to the number itself, eg 6 = 1+2+3.)

7. A program that converts any number (up to and including 3,999) into Roman numerals. i.e. Input of 52 would produce LII.


++++++++++++++++
I am not looking for already compiled .exe's of these programs, just looking for help coding each one. (Links to tutorials, etc)
If anyone would like to help me, please message me or reply here.
++++++++++++++++

Thanks in advance to anyone who can help me.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Are you looking for the logic, syntax help, other? We are not in the habit of simply providing solutions to homework problems (or problems that strongly resemble homework problems).

These questions cover a wide variety of concepts. What concepts of the Pascal language are you currently familiar with?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Are you looking for the logic, syntax help, other? We are not in the habit of simply providing solutions to homework problems (or problems that strongly resemble homework problems).

These questions cover a wide variety of concepts. What concepts of the Pascal language are you currently familiar with?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
Nice homework problems. lol

Most of them should be simple if you do some reading on the language.

Anyways I like the last one.

Quote

A program that converts any number (up to and including 3,999) into Roman numerals. i.e. Input of 52 would produce LII.

That one could be a challenge.