Posts

Showing posts with the label C++

200+ Programming Resources

Image
200+ Programming Resources This is an Open Source project created by my friend KrOW started on Sololearn and continuing to grow on Github . This program contains over 200 links and Resources to help Programmers at every level find helpful information. *Featured Code Created by KrOW I love how KrOW added a link to see this code running in this  Github  repo reading the code is awesome in many aspects but it helps me so much to see a code running to fully grasp it's potential. If you have links you would like to see added feel free to leave them in comments here and I will forward them to KrOW or suggest/add them via  Sololearn  or  Github . Thanks and Happy Coding!                

Top Ten Best Apps to Learn Programming

Image
The Top 10 Best Apps to Learn Programming Languages #10  Encode Encode offers bite-sized courses with code examples and challenges to get you coding. This is a good app for beginners who wish to learn the fundamentals. #9   Udemy Udemy is an online marketplace with over 80,000 courses available. Most of these are not free but if you search around you can find lots of great deals on them. #8  w3schools W3Schools is a great resource for online or offline Learning. It's easy to understand format is an asset to Beginners as well as Experienced Programmers. #7  Udacity Udacity offers a School of Programming as well as Schools for AI, Data Science, Nano Degrees and much more. #6  mimo Mimo is a fun app to learn not only Programming but Game Building, App Development, Ethical Hacking, and more. #5  Coursera Coursera offers many great cour...

Reverse a Number using C

Image
Reverse a Number using C Programming Language C #include <stdio.h>  int main() {  int n, reverseNumber = 0, remainder; printf("Enter a number: ");  scanf("%d", &n); while(n != 0) {  remainder = n%10;  reverseNumber =  reverseNumber*10 + remainder; n /= 10; } printf("Reversed Number = %d", reverseNumber);  return 0; } Click here to run this code Share with Friends                 More Free Code Examples Fibonacci Sequence Using C C++ Odd or Even C++ Code to Reverse a Number Try these Fun Games by Bobbie: Travel Blast Game New York Play and Learn Russian Battlestarship Game Take a look at these Groovy Codes: Fun IQ Test Html Svg Starburst Javascript Particles Fishes Read the Latest Breaking Programming and Tech News, Great Articles and Tips: Codenewz Programming an...

C Odd or Even

C Odd or Even Check if a number is Odd or Even using C Programming Language C #include<stdio.h>  int main() {  int num;  printf("Enter a number: ");  scanf("%d",&num); if ( num%2 == 0 )  printf("%d is an even number", num);  else printf("%d is an odd number", num); return 0; } Click here to run this code More Free Code Examples Fibonacci Sequence Using C C++ Odd or Even C++ Code to Reverse a Number Try these Fun Games by Bobbie: Travel Blast Game New York Play and Learn Russian Battlestarship Game Take a look at these Groovy Codes: Fun IQ Test Html Svg Starburst Javascript Particles Fishes Read the Latest Breaking Programming and Tech News, Great Articles and Tips: Codenewz Programming and Tech News

Fibonacci Sequence using C

Image
Fibonacci Sequence using C This program will produce an inputted number of terms of the Fibonacci Sequence using C Programming Language C #include<stdio.h>  int main() {  int count, first_num = 0, second_num = 1, next_num, i; printf("Enter the number of terms:\n"); scanf("%d",&count);  printf("First %d terms of Fibonacci series:\n",count);  for ( i = 0 ; i < count ; i++ ) {  if ( i <= 1 ) next_num = i;  else { next_num = first_num + second_num; first_num = second_num; second_num = next_num; }  printf("%d\n",next_num); }  return 0; } Click here to run this code Share with Friends                 More Free Code Examples: Javascript Substitution Cipher Javascript Easy Battleship Game Hello World in 10 Programming Languages Try these Fun Games by Bobbie: Travel Blast Game New York Play and Lear...

8 Codes to Find Versions

Image
The following is a collection of Codes used to Determine the Language or Compiler Version being used.    *The following Featured Codes were Created by  John Wells PHP Version <?php echo "PHP Version ".phpversion()."<br>"; ?> Click here to run this code Java Version public class Program {   public static void main(String[] args) {     System.out.format("Java Version = '%s'",         System.getProperty("java.version"));   } } Click here to see this code run Swift Version #if swift(>=4.2)  print("Running Swift 4.2 or later") #else #if swift(>=4.1)  print("Running Swift 4.1") #else #if swift(>=4.0)  print("Running Swift 4.0") #else  print("Running Swift earlier than 4.0") #endif #endif #endif Click here to run this code Ruby Version print "ruby #{ RUBY_VERSION }p#{ RUBY_...

Hello World in 10 Programming Languages

Image
Java Hello World public class Hello {       public static void main(String[] args){           System.out.println("Hello World!");} } Click here to see this code run HTML5 Hello World <!DOCTYPE html> <html>     <head>         <title>Page Title</title>     </head>     <body>         <h1>Hello World</h1>     </body> </html> Click here to run this code Python Hello World print("Hello World") Click here to see this code run C Hello World #include <stdio.h> int main() { printf("Hello World");      return 0;} Click here to see this code run C++ Hello World #include <iostream> using namespace std; int main() { cout << "Hello W...