Progeek37's Posts
Nairaland Forum › Progeek37's Profile › Progeek37's Posts
1 2 3 4 5 6 7 8 9 10 (of 13 pages)
Subscribe to my Zoom tutorial today and experience a leap in your coding skill. Send me a WhatsApp message for details. |
Subscribe to my Zoom tutorial today and experience a leap in your coding skill. Send me a WhatsApp message for details. |
Subscribe to my Zoom tutorial today and experience a leap in your coding skill. Send me a WhatsApp message for details. |
Subscribe to my Zoom tutorial today and experience a leap in your coding skill. Send me a WhatsApp message for details. |
Iamvincentnam:Okay |
Javierleon:Sorry for the late reply. Send me a WhatsApp message so we can talk more, check my Nairaland signature for my WhatsApp number. |
Have you joined my coding group and data structure group? Waste no more time, join today and experience a lift in your view of programming. |
Have you joined my coding group and data structure group? Waste no more time, join today and experience a lift in your view of programming. |
Have you joined my coding group and data structure group? Waste no more time, join today and experience a lift in your view of programming. |
Lampert505:Check my Nairaland signature for my WhatsApp number |
Abzeez10:Check my Nairaland signature for my WhatsApp number |
rust6:Okay, send me a message on WhatsApp. Check my nairaland signature |
Start your journey in Java programming today. Subscribe to my Zoom Tutorial. We have, console-based , GUI-based and Android projects at the end of the tutorial. |
Start your journey in Java programming today. Subscribe to my Zoom Tutorial. We have, console-based , GUI-based and Android projects at the end of the tutorial. |
Start your journey in Java programming today. Subscribe to my Zoom Tutorial. We have, console-based , GUI-based and Android projects at the end of the tutorial. |
Coding group and Zoom Tutorial is still on. Message me on WhatsApp today |
Jas80:Nothing is wrong with it but the code has already been written by Java creators. The purpose of this thread is to help you learn how to write those codes yourself. |
Have you join my coding group or my tutorial? Join today simply send me a WhatsApp message |
Have you join my coding group or my tutorial? Join today simply send me a WhatsApp message |
Have you join my coding group or my tutorial? Join today simply send me a WhatsApp message |
When playing games where you have to roll two dice, it is nice to know the odds of each roll. For instance, the odds of rolling a 12 are about 3%, and the odds of rolling a 7 are about 17%. You can compute these mathematically, but if you don’t know the math, you can write a program to do it. To do this, your program should simulate rolling two dice about 10,000 times and compute and print out the percentage of rolls that come out to be 2, 3, 4, ..., 12. |
Question Write a program that converts a binary number to a decimal one. Example 101 --> 5, 1001011 -->75 |
Solution and output screenshots
|
Join This Thread If You Want To Master Algorithms And Data Structures I know that we have competent programmers, I know that Nigerians are smart. Let's not waste our intelligence on scamming white women, let's use it to build technologies and eventually make money out of them. Let's start posting algorithmic problems, I need everyone to post any question here hard or easy for solution. Of course, we may not be able to solve all problems but we can do our best. Post your problems here... RULE: Since Nairaland does not provide us with internal IDE for code implementation, we can use our preferred IDE like Eclipse, IntelliJ IDEA, Visual Studio IDE, Visual Studio Code, PyCharm, NetBeans etc after writing the code in your preferred IDE, take a screenshot of it and share it here and the outputs. Please I don't need plain text on Nairaland, I need a screenshot, it is better and more helpful. Here is the format: Question: Write a program that converts a decimal number to binary one. example 5 --> 101, 75 --> 1001011 Solution: There might be many ways of solving this, I can only think of two ways to solve. 1. Applying repeated division by 2 and thereafter return the remainders. 2. Using bitwise operations. I will code it using the second method, here is the screenshot of the algorithm and some outputs. |
Join my WhatsApp group and make your presence count, let's build a community of great programmers. Send me a WhatsApp message for a link |
frankfab:Data Structures and algorithms class is done via Zoom app and attracts a one time payment of N10, 000 if you need my free WhatsApp group instead, send me a WhatsApp message so I can send you the link to join |
Take the giant step today by subscribing to my Zoom tutorial |
The journey of 1000km starts with a step, take the first step today by joining my Zoom tutorial class. |
Learn how to program a computer and algorithms and Data Structures by subscribing to my Zoom tutorial |
peppo4live:See my signature for my phone number and send me a WhatsApp message |
Omar09:Okay |
Join my tutorial today and experience a boom in your coding skills. Or you can just subscribe to my Algorithms And Data Structures class. Also join my free coding WhatsApp group. Check my signature for contact details |