#can anyone help me in comp this is a while loop program
1 messages · Page 1 of 1 (latest)
what help do u want in while loop program like do u want to know how to do it or something else
usually you would have a counter variable that increases every loop
(in python) atleast
Like can u send me the code
How to solve it
I could help you
What's the while loop program?
Wait which programming language?
Java or python?
idk java but i can try to help
where is the question bruh
lol
while (condition) {
// ... code ... with increments
}
``` this is what a loop looks like normally
if thats what you wanted
Program to prompt and accept a valid decimal number and covert it into a binary number.
does it require you to use a while loop?
Yes
I wanna know how to solve it
I know both java and python
Java and python very similar
Though java has a lot of syntax
I am learnt java first then i am learning python so it's taking time to getting use to
Cause python's syntax is virtually non-existent
dude the language doesnt even matter lol
the logic is whats important
while loop syntax is almost the same between the langs
yea
Lorenz is AFK: segs - 6 hours ago
but you prolly could use one where you add the binary version of each digit and stuff
either way thts gonna take some time to figure out 
Figured it