0

Hi, I'm looking for embedded system or os source code example. Just to learn some common error or good way to write some device process. Probably in C or C++.

Is there any good suggestion?

4
Contributors
4
Replies
12
Views
6 Years
Discussion Span
Last Post by David W
0

Write a program which accepts amount as float and display total number of Notes of $50 , 20, 10, 5, 2, 1, 0.50, 0.20, 0.10, 0.05 For example, when user enter a number, 575.95 the results would be like this...
11 $50
1 $20
1 $5
1 50c
2 20c
1 5c

0

Write a program which accepts amount as float and display total number of Notes of $50 , 20, 10, 5, 2, 1, 0.50, 0.20, 0.10, 0.05 For example, when user enter a number, 575.95 the results would be like this...
11 $50
1 $20
1 $5
1 50c
2 20c
1 5c

please provide answer

0

To the OP:

Have you thought about doing some assembly coding?

HLA (High Level Assembly by Randy Hyde) is a great way to start to get a feel for what is going on under the hood ... and it 'leverages' your C/C++ coding skills to let you get to a fast-track start in writing useful code.

Edit: Oops ... that was an old post that shyrin seems to have 'fallen in to' ...

I see that I 'fell in' ... too :(

Edited by David W

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.