Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,207,657 members, 7,999,877 topics. Date: Monday, 11 November 2024 at 03:18 PM

First Thing First, Learn To Program! - Programming (5) - Nairaland

Nairaland Forum / Science/Technology / Programming / First Thing First, Learn To Program! (36322 Views)

Learn How To Program For Free / How To Program Outseal Arduino PLC / Here Is Why You Should First Learn Python As A Beginner In Programming (2) (3) (4)

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ... (11) (Reply) (Go Down)

Re: First Thing First, Learn To Program! by pseudonomer: 12:45pm On May 26, 2019
Peetar3117:
08143424072. Kindly Add.
I recently started coding with Python( my first language) and it sure seems like one hell of a ride.
Hopefully I would get to learn from more learned coders.

You should start with C and thank me later.

I started with Java, then Python and later C/C++

C really help me in understanding computer memory better... data structure and algorithms became a very easy thing.
Re: First Thing First, Learn To Program! by Softcash(m): 11:18pm On May 26, 2019
09078433470
Re: First Thing First, Learn To Program! by Standard92: 7:50am On May 29, 2019
progeek37:
The WhatsApp Group is still available for new comers.
.
Re: First Thing First, Learn To Program! by progeek37(m): 6:40pm On Jun 03, 2019
Let's programmers meet and learn from each through problem solving. Join our WhatsApp Group drop your number to be added.
Re: First Thing First, Learn To Program! by Deicide: 7:35pm On Jun 03, 2019
Why i use to laugh those that say you don't need Math knowledge in programming grin
Re: First Thing First, Learn To Program! by Adino59(m): 9:07pm On Jun 03, 2019
07065601815 @ progeek the advice you gave on first learning the logic is so true I started learning programming early this year@ a computee institute fast forward now I'm at the last stage of d course which is mobile app design but I still feel a huge vacuum in me like I'm stuck at times trying to code thanks for your input guess I would have to retrace my steps
Re: First Thing First, Learn To Program! by Sixtytwo62: 9:16pm On Jun 03, 2019
progeek37:
Let's programmers meet and learn from each through problem solving. Join our WhatsApp Group drop your number to be added.
Bro add me to that group again @07063527329
I lost access to my former what's app account.
Re: First Thing First, Learn To Program! by mourtayo(m): 11:54pm On Jun 03, 2019
Pls add me 08097014067
Re: First Thing First, Learn To Program! by Nobody: 5:59pm On Jun 04, 2019
progeek37:
Here is a sample question

In Nigeria, mobile phone numbers begin with the digit 0 and can contain any digits(0,1,2,3,4,5,6,7,8,9). The first 4 digits of the numbers
determine the particular network provider. For instance, GlobalCom Nigeria Limited numbers can
begin with 0805, MTN 0803 and Airtel 0802 etc. The mobile phone numbers must
have 11 digits all together. For instance, this is my MTN number:
0813 568 3431.
Write a program that can calculate the total number of possible subscribers of
MTN numbers that begin with 0813 and print out all the numbers.


HINT
total_digits = 11: total digits of each number
digits_needed = 7: digits needed to complete 0813 to 11-digit numbers.
available_digits = 10: i.e 0,1,2,3,4,5,6,7,8,9
Note: Computer CPU has some limitations, some may not print out all the numbers. Instead of printing out all the numbers in computers with low
processor speed and RAM. Consider printing out numbers that meet some certain conditions like numbers that ends with "3431" like my number
in the question. But your program must be able to count all the total available numbers in "0813" even though it may not print them all out to the console.
Also you have to make the program flexible such that you can easily change the lines for instance, you change can "0813" to "0806", "0803", "0805", "0902" etc or even make it start with country code "+234813". Goodluck.

Boss, I'm still a learner sir.
Can use mtn.prefChanger() to change 0813.
I forgot converting mtn.prefChanger argument to string...i did in earlier version.
Can use mtn.gen() to generate numbers and ending of choice. I chose 4457.
If no number is specified, it prints without condition.

Re: First Thing First, Learn To Program! by peterpeteru: 9:42pm On Jun 04, 2019
smiley
Re: First Thing First, Learn To Program! by live4dgospel(m): 8:49am On Jun 05, 2019
IamTeen:


Boss, I'm still a learner sir.
Can use mtn.prefChanger() to change 0813.
I forgot converting mtn.prefChanger argument to string...i did in earlier version.
Can use mtn.gen() to generate numbers and ending of choice. I chose 4457.
If no number is specified, it prints without condition.
Your program uses built-in method to arrange the numbers. You should write codes that generates the numbers, don't use "arrange"
Re: First Thing First, Learn To Program! by richebony: 9:11am On Jun 05, 2019
...
Re: First Thing First, Learn To Program! by dlawnoni: 12:51pm On Jun 05, 2019
Plz. Who knows how to disable WEBRTC on Chrome android
Re: First Thing First, Learn To Program! by Emmaway(m): 5:18pm On Jun 05, 2019
08142367332
Re: First Thing First, Learn To Program! by Nobody: 2:33am On Jun 06, 2019
live4dgospel:

Your program uses built-in method to arrange the numbers. You should write codes that generates the numbers, don't use "arrange"
Hahahaha. It's 'arange' not 'arrange', a numpy function but equivalent to traditional Python's 'range()' function used with list() function.
I'm only Keeping It Simple Stupid (KISS).
Thanks sha.
Re: First Thing First, Learn To Program! by Ikennablue(m): 4:47pm On Jun 06, 2019
Pls add me 08121148673
Re: First Thing First, Learn To Program! by progeek37(m): 9:09pm On Jun 06, 2019
IamTeen:


Boss, I'm still a learner sir.
Can use mtn.prefChanger() to change 0813.
I forgot converting mtn.prefChanger argument to string...i did in earlier version.
Can use mtn.gen() to generate numbers and ending of choice. I chose 4457.
If no number is specified, it prints without condition.
Good. Can you do this without the pre-knowledge that the sum of the numbers is 10**7? That's the essence of the question, the same thing you did here can be done using Python range but such solution is trivial.
Re: First Thing First, Learn To Program! by fascia(m): 10:50pm On Jun 06, 2019
Add me
08109076441
Re: First Thing First, Learn To Program! by Nobody: 10:35am On Jun 08, 2019
progeek37:

Good. Can you do this without the pre-knowledge that the sum of the numbers is 10**7? That's the essence of the question, the same thing you did here can be done using Python range but such solution is trivial.
This?

I used mtnNumbers.setPrefix() function to switch from 0813 and mtnNumbers.setLastNumbers() to change the numbers ending.
mtnNumbers.printNumbers() function did the printing.

Re: First Thing First, Learn To Program! by live4dgospel(m): 1:42pm On Jun 08, 2019
IamTeen:

This?

I used mtnNumbers.setPrefix() function to switch from 0813 and mtnNumbers.setLastNumbers() to change the numbers ending.
mtnNumbers.printNumbers() function did the printing.
Yes, I think this is good.
Re: First Thing First, Learn To Program! by progeek37(m): 4:37pm On Jun 08, 2019
IamTeen:

This?

I used mtnNumbers.setPrefix() function to switch from 0813 and mtnNumbers.setLastNumbers() to change the numbers ending.
mtnNumbers.printNumbers() function did the printing.
Nice!
Re: First Thing First, Learn To Program! by Nobody: 7:29pm On Jun 08, 2019
live4dgospel:

Yes, I think this is good.
Thanks sir.
Re: First Thing First, Learn To Program! by Nobody: 7:30pm On Jun 08, 2019
progeek37:

Nice!
Thanks
Re: First Thing First, Learn To Program! by chrysophem(m): 11:46pm On Jun 08, 2019
please add my number to the group 08138030509
Re: First Thing First, Learn To Program! by oladapo83: 2:25pm On Jun 09, 2019
07086559586
Re: First Thing First, Learn To Program! by Unie30: 11:46am On Jun 10, 2019
09028231884
Re: First Thing First, Learn To Program! by Emmaway(m): 10:37pm On Jun 10, 2019
0811 105 5827
Re: First Thing First, Learn To Program! by Whitemanyu: 8:40am On Jun 13, 2019
Guys, am looking for a programmer/coder who can code an indicator for binary options or forex trading. The indicator will be programmed to only appear when a set of conditions are met.
Re: First Thing First, Learn To Program! by Nobody: 4:12pm On Jun 13, 2019
Abeg add me..

08100114675
Re: First Thing First, Learn To Program! by Nobody: 8:08pm On Jun 14, 2019
Please add me up

08020525541
Re: First Thing First, Learn To Program! by All4real2: 8:10pm On Jun 14, 2019
progeek37:

Okay. Please after solving it consider sharing the screenshots of the sample run of the program. Thanks

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ... (11) (Reply)

Driveinhud App Gains Over 1000 Registered User Within One Month Of Launch / Should I Take This Job?(photo) / Astro Programming Language 0.2 (indefinite release)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 28
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.