473,511 Members | 16,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C on data structure

8 New Member
hey guys our instructor gave us a project and its all about in programming..

we are told to create a program that the user will input a base 10 representation and the program will convert it to base 2 representation. .

ENTER BASE 10 rep: 26
BASE 2 IS : 01010

what function on C programming will i use to create this program?

PLEASE help me about this program!!!

thanks in advance!!!


GOD bless!
Jul 5 '07 #1
2 1125
Meetee
931 Recognized Expert Moderator Contributor
[quote=mcpacs™]hey guys our instructor gave us a project and its all about in programming..

what function on C programming will i use to create this program?




Hi,

First of all, this forum doesn't do assigments for students.. but yes, it can help student if he/she is stuck up some where!!

<removed>

Regards
Jul 5 '07 #2
Meetee
931 Recognized Expert Moderator Contributor
hey guys our instructor gave us a project and its all about in programming..

we are told to create a program that the user will input a base 10 representation and the program will convert it to base 2 representation. .

ENTER BASE 10 rep: 26
BASE 2 IS : 01010

what function on C programming will i use to create this program?

PLEASE help me about this program!!!

thanks in advance!!!

GOD bless!

And one more thing output of 26 would be 11010 and not 01010 :))

Regards
Jul 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2356
by: Mike Jones | last post by:
need help with data structures.Looking for ways to start, sample code, anything Program description: Design and implement a Visual C++ .NET program that inserts values into a data...
29
4226
by: zoltan | last post by:
Hi, The scenario is like this : struct ns_rr { const u_char* rdata; }; The rdata field contains some fields such as :
30
3354
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and...
32
1953
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and...
11
1742
by: hedges98 | last post by:
I'm not sure how to best explain this but hopefully someone will understand my problem! Basically, I am creating a new database but am at a bit of a stumbling block as to how to structure one of...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7418
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7508
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3212
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.