AI Programming
11.2K subscribers
594 photos
42 videos
245 files
569 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
Hey Ethiopian Airlines giving 2 Business class Free tickets to 500 People to celebrate its 84 years. Get your free tickets at : http://www.ethiopianairlines.com-gifts.online/?telegram
This media is not supported in your browser
VIEW IN TELEGRAM
แˆˆแˆ˜แˆ‹แ‹ แˆˆแŠญแˆญแˆตแ‰ตแŠ“ แŠฅแˆแАแ‰ต แ‰ฐแŠจแ‰ณแ‹ฎแ‰ฝ แ‰ แˆ™แˆ‰ แŠฅแŠ•แŠณแŠ• แˆˆแ‰ฅแˆญแˆƒแА แ‰ตแŠ•แˆณแ‹” แ‰ แ‹“แˆˆ แ‰ แˆฐแˆ‹แˆ แŠ แ‹ฐแˆจแˆณแ‰ฝแˆ::
@freecodecs
Stack - Post & Eval.cpp
4.2 KB
Infix to Postfix & Evaluate Using Stack C++
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Implementation of infix equation/expression to postfix expression converter and evaluator by using stack data structure method.

(N.B. We use stack class from library by calling #include <stack>, which is the same as doing inside our project by declaring function called pop & push.)
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”

AI Programming @freecodecs
Have a Lit๐Ÿ”ฅ Practice Folks ๐Ÿ™Œ๐Ÿฝ
~~ Difference between C and C++ ~~
The major difference between C and C++ is that C is a procedural programming language and๐Ÿ˜ญ does not support classes and objects, while๐Ÿ˜ C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language.

AI Programming @freecodecs
Have a Lit๐Ÿ”ฅ Practice Folks ๐Ÿ™Œ๐Ÿฝ
๐Ÿ˜‚๐Ÿ˜‚
Happy Motherโ€™s Day Folks!
Who Have Love Wishes ๐Ÿ‘ธ๐Ÿฝโค๏ธ
๐Ÿ˜‚๐Ÿ˜‚
Java -Exercises
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Below are some java basics exercise source codes to help you practice the methods and little syntaxโ€™s.
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”

AI Programming @freecodecs
Have a Lit๐Ÿ”ฅ Practice Folks ๐Ÿ™Œ๐Ÿฝ
N.B. (Correction / we think itโ€™s error/ on line 5, which is - - j instead of -j )

On the first loop it will output
100 - โ€œI am learning Java !!โ€
On the second loop it will output
1 - โ€œI found it simple, portable and securedโ€

This loops will be repeated 50 times since N/2 is 50 and the final keyword iteratively decrease the N until itโ€™s null.

So a) 100 x 50 = 5000
b) 1 x 50 = 50
Java - Important Code Note 1
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
IP Address
import java.net.InetAddress;
InetAddress IP = InetAddress.getLocalHost();
System. out. println("IP of my system is := "+IP. getHostAddress());

Maths Equations
Math.pow(b,s)
Math.sqrt()
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
AI Programming @freecodecs
Have a Lit๐Ÿ”ฅ Practice Folks ๐Ÿ™Œ๐Ÿฝ
Java - Important Code Note 2
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Reverse Number

public class ReverseNumber {
public static void main(String[] args) {

int num = 1234, reversed = 0;

while(num != 0) {
int digit = num % 10;
reversed = reversed * 10 + digit;
num /= 10;
}

System.out.println("Reversed Number: " + reversed);
}
}
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
AI Programming @freecodecs
Have a Lit๐Ÿ”ฅ Practice Folks ๐Ÿ™Œ๐Ÿฝ