AI Programming
12.2K subscribers
714 photos
65 videos
245 files
659 links
An artificial intelligence free resource channel for students, professionals, and anyone who wants to learn how to solve problems.

ENGINEERING πŸŽ– PROGRAMMING πŸŽ– TIPS & HACKS

https://youtube.com/c/AIProgramming
CONTACT US ON: @alphadmin12
Download Telegram
Here in Ethiopia we don’t celebrate Independence Day. We celebrate Victory Day!
β€’αˆ˜αˆαŠ«αˆ የ125αŠ›α‹ αŠ α‹΅α‹‹ α‹΅αˆ α‰ α‹“αˆ β€’
β€’Happy 125th Anniversary of ADWA Victoryβ€’ πŸ’šπŸ’›β€οΈ
β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
AI Programming @freecodecs
Wondering how the new crop of easy-to-make, highly realistic, real-time digital humans will impact the landscape of games, films, social media, and more? To find out, join Epic Games for the next episode of The Pulse, and stick around for the live Q&A.

Next-gen game platforms are capable of handling realistic characters, but until recently, creating them has been extremely challenging. Now, new tools that make believable, animatable digital humans more accessible to creators bring greater opportunities for realism and player immersion.

Can’t make the live session? Sign up anyway and they’ll send you a link to the recording.

Wednesday, March 17
12 PM PDT | 3 PM EDT | 7 PM GMT

Register Here

https://ue.unrealengine.com/thepulsedigitalhumansep5.html?utm_source=BeforesandAfters&utm_campaign=an*Internal_pr*UnrealEngine_ct*Performance_pl*Eblast_co*&utm_id=&utm_subcampaign=&utm_subid=&utm_site=&utm_term=&utm_medium=&utm_creative=PulseDH&
β€”β€”β€”β€”β€”β€”
AI Programming @freecodecs
C Sharp Text File Manipulator
β€”β€”β€”β€”β€”β€”β€”β€”β€”
Get the full source code below
https://github.com/addispupi/C-Sharp
β€”β€”β€”β€”β€”β€”β€”β€”β€”
Have a Lit Coding πŸ”₯
AI Programming @freecodecs
C++ Graphics 4 Exercises

Get the full source code below :

https://github.com/addispupi/Graphics-Cplusplus.git
β€”β€”β€”β€”β€”β€”β€”β€”β€”
Have a Lit Coding πŸ”₯
AI Programming @freecodecs
C++ Graphics - Filler Exercise

Get the full source code below :

https://github.com/addispupi/Graphics-Cplusplus.git
β€”β€”β€”β€”β€”β€”β€”β€”β€”
Have a Lit Coding πŸ”₯
AI Programming @freecodecs
C# Employee Registration System - MS-SQL Integrated
β€”β€”β€”β€”β€”β€”β€”β€”β€”
Get the full source code below
https://github.com/addispupi/EmployeeRegistration.git
β€”β€”β€”β€”β€”β€”β€”β€”β€”
Have a Lit Coding πŸ”₯
AI Programming @freecodecs
GET 60 Days Skillshare Premium for FREE! April 2021 Method
β€” β€” β€” β€” β€” β€” β€” β€” β€” β€” β€” β€” β€” β€”
Step 1: Go to This Website : https://10minutesemail.net

and if you see a Temporary Edu Mail then follow the next steps, if you don’t see an email with .edu then simply click on the Delete🧺 icon until you get a temp .edu extension.

Email should be something like this @edu.pl

Step
2: Go to https://www.skillshare.com/schoolverification and sign up with that temp email, verify the email account.

πŸ”₯ After verification Enjoy πŸ”₯
β€”β€”β€”β€”β€”β€”β€”β€”β€”
AI Programming @freecodecs
5 DAYS LEFT

We are thrilled to announce the launch of CyberTalents Security Scholarship 2021πŸŽ‰ An outstanding initiative brought by Trend Micro for students and fresh graduates in Arab and African countriesπŸŽ“

Know more details and register now: https://buff.ly/3dCqrJG
Google today announced the launch of 40,000 new startups developer scholarships in Africa.

Google will offer the scholarships β€” created in partnership with tech talent companies Pluralsight and Andela β€” to developers spread across mobile and cloud development tracks.

Google will give full scholarships (with certifications in Android and cloud development) to the top 1,000 students (beginner and intermediate developers) at the end of the training.

#Ethiopia: Applications are now open for Class 6! Apply πŸ‘‡

https://startup.google.com/accelerator/africa/#accelerator-programs
Object Oriented Programming(Ex-1)
1️⃣ Create a program by using java or any other OOP platform which calculates age.
β€”β€”β€”β€”β€”β€”β€”β€”β€”
The program should include the following:
⭕️ β€œMain” & β€œDate” classes
⭕️ accepts Name & dob(date, month, year)
⭕️ accepts CurrentDate(date, month, year)
⭕️ and β€œCalcAge” function

πŸ“ŒFinally to give a teaser of what the user interaction and display will looks:

Enter Name: Student
Enter Date of Birth:
Date - 20
Month - 8
Year - 1992
β€”β€”β€”β€”β€”β€”β€”
Enter Current Date:
Date - 28
Month - 10
Year - 2019
β€”β€”β€”β€”β€”β€”β€”
Student’s Age is: 27 Y, 2 M, 8 D.
β€”β€”β€”β€”β€”β€”β€”
N.B. In the above abbreviation Y, M, D is Years, Months & Dates respectively.

As Always:

Have a LitπŸ”₯Figuring-Out Folks πŸ™ŒπŸ½
β€”β€”β€”β€”β€”β€”β€”β€”β€”
Join The Underground Coding Movement!
AI Programming
@freecodecs
Answer / Part 1 Explaining - OOP(Ex-1)
Understanding the scenario
β€”β€”β€”β€”β€”β€”β€”β€”β€”
So before we start the coding process we must understand the problem, how Gregorian’s and Ethiopian’s Calendar πŸ“† work, & how age calculating could be done.

β€’Okey .... y’all just subtract date of birth from current dateπŸ˜‰ easy right !

❓But, how it could be done, mean do we subtract all or each of values such as dates, months & years separately
❓What if month of (date of birth) greater than current month / it becomes negative/
❓Is each of years months or each of months days differs

YES, YES ....... Yes

πŸ“Œ This is why we need logic and cases to solve low level problems upward to higher

>>start:

πŸ“£ </ Gregorian Calendar >
β€’Each year has 12 months
β€’Each months has different dates the highest is 31 and the lowest is 28
β€’Leap year is February which is 2nd month 29 days and on non-leap year 28 days

πŸ“£ </ Ethiopian Calendar >
β€’Each year has 13 months
β€’Each 12 months has 30 days and the last one has 5 or 6 days
β€’Leap year is Pagume/αŒ·αŒαˆœαŠ• which is 13th month 6 days & on non-leap year 5 days
β€”β€”β€”β€”β€”β€”
πŸ“† How to calculate Leap Years πŸ“†
Pseudo Code (Gregorian)
If (year%4 = 0)
February = 29
else
February = 28
β€’Which means if the year is divided by 4 without the remainder then February month has 29 days and the reverse/else which is false means it has 28 days.

Pseudo Code (Ethiopian)
If (year%4 = 3)
Pagume = 6
else
Pagume = 5
β€’In the Ethiopian calendar leap is different only the reminder which the year divided by 4 is becomes only 3 then it’s leap year otherwise it’s not-leap year.
β€”β€”β€”β€”β€”β€”
Note: declare months[] array with the following variables for months days in Gregorian calendar.

months[] ={31,February,31,30,31,30,31,31,30,31,30,31}

NB. February is a variable declared previously on leap year or not-leap year
β€”β€”β€”β€”β€”β€”
There are two cases to deal with to calculate the age from date of birth (DOB)
⭕️ Case 1: subtracting without carry forwarded
Ex: Current: 2019.10.28
DOP: 1992.08.20
β€”β€”β€”β€”β€”β€”β€”β€”
Age : 27 years, 2 months, 8 days

⭕️ Case 1:
When we subtract from current date with carry forwarded from month or year
Ex: Current: 2019.10.28
DOP: 1992.12.30
β€”β€”β€”β€”β€”β€”β€”β€”
Age : 26, 8, 29

πŸ“ŒSo to point the problem in this πŸ‘†πŸ½ example we cannot subtract 30 from 28 it will be come -2 this means there is no date called -2 but we can lend from the month, if we lend from month we must know how many days the month contains so we must check from the array we declared previously. But for the month we can borrow 12 or 13 months from year.

Pseudo Code (Case 1)
If (birthDate > curDate)
curMonth = curMonth - 1
curDate = curDate + months[curMonth]
If (birthMonth > curMonth)
curYear = curYear - 1
curMonth = curMonth +12

Pseudo Code (Case 2)
calcDate = curDate - birthDate
calcMonth = curMonth - birthMonth
calcYear = curYear - birthYear

Age Calculator Exercise Source Codes
Gregorian : https://t.me/freecodecs/531
Ethiopian : https://t.me/freecodecs/532

As Always:
Have a Lit πŸ”₯Study Folks πŸ™ŒπŸ½
β€”β€”β€”β€”β€”β€”β€”β€”β€”
Join The Underground Coding Movement!
AI Programming @freecodecs
πŸ‘2