source code for calculator any one have it?

Status
Not open for further replies.

luna45

Junior Member
Dec 26, 2010
2
0
0
[FONT=&quot]i want to design a HCS12 based microcomputer system on terminal component the (source code) is in C programming language in Code Warrior IDE[/FONT]



[FONT=&quot]Terminal component with HCS12 controller configure IO window to perform simple calculation such as addition, subtraction, multiplication and division of given two numbers.[/FONT]
[FONT=&quot] The output will be displayed largest among two numbers if they are separated with comma. [/FONT]
the problem is i didn't get the source code for calculator so any one can help me plz
[FONT=&quot] [/FONT][FONT=&quot][/FONT]

Locking this. You've obviously pasted in an assignment verbatim hoping to get the answers. Try working into it yourself and posting some specific questions with code.

Markbnj
Programming moderator
 
Last edited by a moderator:

Leros

Lifer
Jul 11, 2004
21,867
7
81
This kind of sounds like someone's homework...

Having taken a class with this exact assignment, I can confirm this. Its the first introductory lab.

You probably got source files for the SCI interface, all you have to do is write a simple C terminal program.

If you can't easily do this, drop the class.....
 
Last edited:

luna45

Junior Member
Dec 26, 2010
2
0
0
hi this is not homework welll i tryed to solve it with c++ codewrorrier but there were many things missing so any 1 have only the source code coz i have it and i can show u but can u ppl tell me where is the mistake tnx
 

Cogman

Lifer
Sep 19, 2000
10,286
147
106
hi this is not homework welll i tryed to solve it with c++ codewrorrier but there were many things missing so any 1 have only the source code coz i have it and i can show u but can u ppl tell me where is the mistake tnx

first off, don't take us as fools. It is obviously homework. Hell, the part in green uses completely different english than you use here. The writing style is that of another person.

We aren't opposed to helping you with your homework, we are opposed to just giving you the answers.

Now, as for where you make mistakes, you have to show us your code. We can't tell you what you are doing right or wrong without seeing what you are doing. Heck, we can't even finish your assignment as you haven't given us enough information.
 
Last edited:
Status
Not open for further replies.