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 sending me a WhatsApp message. Check my Nairaland signature for my contact. |
Join the group and make your presence count. Send me a WhatsApp message. |
Learn to program a computer in the 21st century. Send me a WhatsApp message. |
Why do you have to pay N200, 000 thousand to download Udemy courses? Watching prerecorded made by far away human being! Why don't you just pay a token, and let me drive you to your career path in programming by teaching the fundamentals of programming and algorithms and data structures? Subscribe to my Zoom tutorial and experience a lift in your view of what programming is all about. Send me a WhatsApp message, check on my profile for details. |
Exercise Below is described how to find the date of Easter in any year. Despite its intimidating appearance, this is not a hard problem. Note that [x] is the floor function, which for positive numbers just drops the decimal part of the number. For instance [3.14] = 3. The floor function is part of the math module. C =century (1900’s → C =19) Y = year(all four digits) m = (15+C−C4−8C+1325)mod30 n = (4+C−C4)mod7 a = Ymod4 b = Ymod7 c = Ymod19 d = (19c+m)mod30 e = (2a+4b+6d+n)mod7 Easter is either March(22+d+e) or April(d+e−9). There is an exception if d=29 and e=6. In this case, Easter falls one week earlier on April 19. There is another exception if d=28, e=6, and m=2,5,10,13,16,21,24,or39. In this case, Easter falls one week earlier on April 18. Write a program that asks the user to enter a year and prints out the date of Easter in that year. |
syluck:Send me a WhatsApp message |
syluck:Yes, that is a problem. I have similar challenge. If you have solid knowledge in data structures and algorithms you can join my coding WhatsApp group or if you are new you can subscribe to my Zoom tutorial. |
logicDcoder:Yes C is a great language, many beginners get lost and discouraged at Pointers. So I will advise them to start with Java or C#. |
The class is still open to the general public. You can subscribe today by sending me a WhatsApp message. Check my Nairaland signature |
The class is still open to the general public. You can subscribe today by sending me a WhatsApp message. Check my Nairaland signature |
The class is still open to the general public. You can subscribe today by sending me a WhatsApp message. Check my Nairaland signature |
The class is still open to the general public. You can subscribe today by sending me a WhatsApp message. Check my Nairaland signature |
First things first learn to program. Subscribe to my tutorial class today by sending me a WhatsApp message. |
First thing first learn to program. Join my Java class today. Send me WhatsApp message. |
Exercise Implement a MyQueue class which implements a queue using two stacks. Guideline: First implement a stack, there are two ways to do this: 1) static implementation using array. 2) dynamic implementation with linked list. Implement _push(element)_ and _pop()_ methods, when the stack is working well, create a class *MyQueueClass* and incorporate the idea of stack in it, but the class will have the methods _enqueue(element)_ and _dequeue()_. How will you do it? Consider this: Stack is _Last-In-First-Out(LIFO)_, that's the the push(element) method will add element to the end of the stack and pop() method will remove and return the very last element added. But Queue is _First-In-First-Out(FIFO)_ the _enqueue(element)_ will also add element to the end like stack's push method but the _dequeue()_ will remove and return the first element added, follow by the second etc. To implement this Queue principle using two stacks, one way to do this is: Instantiate two objects of your stack class, add all the elements in the first stack object when user calls the enqueue(element) of the MyQueueClass. But when user calls the dequeue() method you will apply logic here. Continually pop out the elements in the first stack object into second stack object until the first element is popped out, this first element added, will now be the last element added in the second stack. Pop it out to the user. That's is queue! |
Pursue your dreams and collaborating with other programmers. Join my free coding group today. |
Join my class and handle algorithms without fear! |
If you have already learnt the basics of programming, you can subscribe to my algorithm and data structure class. I will work you through basic algorithm and data structure for a whole 30 days. You will pick up from there and become a master. |
You can subscribe to my tutorial by sending me a WhatsApp message. |
Mosopzy23:Send me a message on WhatsApp, check my contact on my signature |
Join my coding group and add your experience to the group. If you are new to coding you can subscibe to my tutorial class instead. |
Join my coding group and add your experience to the group. If you are new to coding you can subscibe to my tutorial class instead. |
Join my coding group and add your experience to the group. If you are new to coding you can subscibe to my tutorial class instead. |
Learn to code and algorithms and data structures. Subcribe to my tutorial today by sending me a WhatsApp message |
Learn to code and algorithms and data structures. Subcribe to my tutorial today by sending me a WhatsApp message |
Learn to code and algorithms and data structures. Subcribe to my tutorial today by sending me a WhatsApp message |
Learn to code and algorithms and data structures. Subcribe to my tutorial today by sending me a WhatsApp message |
Join my class to learn how to code from scratch and learn algorithms and data structures. Send me a WhatsApp message today. |
Join my class to learn how to code from scratch and learn algorithms and data structures. Send me a WhatsApp message today. |
Join my tutorial class today and experience a leap in your coding skills -- strictly on algorithm and data structures. Send me a message on WhatsApp |
Join my tutorial class today and experience a leap in your coding skills -- strictly on algorithm and data structures |
Join my tutorial class today and experience a leap in your coding skills -- strictly on algorithm and data structures |